sfrench/samba-autobuild/.git
21 years agoPartial review of changes by mimir. Work in progress.
John Terpstra [Mon, 14 Apr 2003 12:19:54 +0000 (12:19 +0000)]
Partial review of changes by mimir. Work in progress.

21 years agoFix _smb_setlen to be non {} safe.
Jeremy Allison [Mon, 14 Apr 2003 10:35:50 +0000 (10:35 +0000)]
Fix _smb_setlen to be non {} safe.
Jeremy.

21 years agoChange ADS CHOSTPASS to ADS CHANGETRUSTPW and add a
Jelmer Vernooij [Mon, 14 Apr 2003 10:14:40 +0000 (10:14 +0000)]
Change ADS CHOSTPASS to ADS CHANGETRUSTPW and add a
general CHANGETRUSTPW that calls ADS CHANGETRUSTPW or RPC CHANGETRUSTPW
depending on what we have.

21 years agoGet rid of 'sam backend' and --with-sam
Jelmer Vernooij [Mon, 14 Apr 2003 10:05:33 +0000 (10:05 +0000)]
Get rid of 'sam backend' and --with-sam

21 years agoDocument NET CACHE
Jelmer Vernooij [Mon, 14 Apr 2003 09:18:36 +0000 (09:18 +0000)]
Document NET CACHE

21 years agoMake a libbigballofmud.so.0 link, so that the linker can find the
Martin Pool [Mon, 14 Apr 2003 07:48:44 +0000 (07:48 +0000)]
Make a libbigballofmud.so.0 link, so that the linker can find the
library to build the test cases.  Previously the link had to be
created by hand.

Doing this manually is incredibly kludgy and not very portable, but I
don't know a better way without introducing l*bt**l.

21 years agoBuild and run the lib/snprintf.c test cases from "make check".
Martin Pool [Mon, 14 Apr 2003 06:07:25 +0000 (06:07 +0000)]
Build and run the lib/snprintf.c test cases from "make check".

21 years agoFix broken regexp in cvsignore for *.po{,32} files.
Tim Potter [Mon, 14 Apr 2003 05:38:48 +0000 (05:38 +0000)]
Fix broken regexp in cvsignore for *.po{,32} files.

21 years agoIgnore check programs.
Tim Potter [Mon, 14 Apr 2003 05:38:28 +0000 (05:38 +0000)]
Ignore check programs.

21 years agoAdd rules to build bin/t_snprintf, which exposes the snprintf test code.
Martin Pool [Mon, 14 Apr 2003 05:26:28 +0000 (05:26 +0000)]
Add rules to build bin/t_snprintf, which exposes the snprintf test code.

21 years agoRemove unused variables.
Tim Potter [Mon, 14 Apr 2003 05:22:59 +0000 (05:22 +0000)]
Remove unused variables.

21 years agoRemoved unused variable.
Tim Potter [Mon, 14 Apr 2003 05:22:17 +0000 (05:22 +0000)]
Removed unused variable.

21 years agoRemove SAFE_FREE() definition, which is not needed in this file.
Martin Pool [Mon, 14 Apr 2003 05:16:47 +0000 (05:16 +0000)]
Remove SAFE_FREE() definition, which is not needed in this file.

In TEST_SNPRINTF mode, always compile all the functions in this file
even if they're normally available on this system.

Fix typo in comment.

21 years agodecode_pac_data() needs a talloc ctx as an argument.
Tim Potter [Mon, 14 Apr 2003 05:16:14 +0000 (05:16 +0000)]
decode_pac_data() needs a talloc ctx as an argument.

21 years agoAdd PAC_DATA as valid return type for make proto.
Tim Potter [Mon, 14 Apr 2003 05:15:46 +0000 (05:15 +0000)]
Add PAC_DATA as valid return type for make proto.

21 years agoRemoved unused variables.
Tim Potter [Mon, 14 Apr 2003 05:13:15 +0000 (05:13 +0000)]
Removed unused variables.

21 years agoFixed incorrect argument to debug.
Tim Potter [Mon, 14 Apr 2003 05:12:53 +0000 (05:12 +0000)]
Fixed incorrect argument to debug.

21 years agoAdd selected parts of the changelog to this file, to make merging into
Martin Pool [Mon, 14 Apr 2003 05:02:55 +0000 (05:02 +0000)]
Add selected parts of the changelog to this file, to make merging into
other projects easier.

21 years agoMerge test cases from rsync.
Martin Pool [Mon, 14 Apr 2003 05:00:00 +0000 (05:00 +0000)]
Merge test cases from rsync.

21 years agoDoc.
Martin Pool [Mon, 14 Apr 2003 04:55:49 +0000 (04:55 +0000)]
Doc.

Add additional test case for a bug recently found in rsync by Paul
Green.  Appparently it was fixed here a while ago.

21 years agoMulti-line string constants have been deprecated in newer versions of gcc.
Tim Potter [Mon, 14 Apr 2003 01:41:53 +0000 (01:41 +0000)]
Multi-line string constants have been deprecated in newer versions of gcc.
Found by Guenther Deschner.

21 years agoRemove duplicate forward reference of smb_ldap_privates.
Tim Potter [Mon, 14 Apr 2003 00:41:44 +0000 (00:41 +0000)]
Remove duplicate forward reference of smb_ldap_privates.

21 years agonet and samba are documented now
Jelmer Vernooij [Sun, 13 Apr 2003 16:29:51 +0000 (16:29 +0000)]
net and samba are documented now

21 years agoupdate to list all current manpages
Jelmer Vernooij [Sun, 13 Apr 2003 16:27:10 +0000 (16:27 +0000)]
update to list all current manpages

21 years agoFinish documentation on net!
Jelmer Vernooij [Sun, 13 Apr 2003 15:45:17 +0000 (15:45 +0000)]
Finish documentation on net!

21 years agoSome small changes - typos, adding usage for some commands
Jelmer Vernooij [Sun, 13 Apr 2003 15:18:21 +0000 (15:18 +0000)]
Some small changes - typos, adding usage for some commands
and removing -j because it was not used at all.

21 years agoadd entity for Not-Implemented Messages
Jelmer Vernooij [Sun, 13 Apr 2003 14:22:47 +0000 (14:22 +0000)]
add entity for Not-Implemented Messages

21 years agoOops - Add another module.
John Terpstra [Sun, 13 Apr 2003 14:11:59 +0000 (14:11 +0000)]
Oops - Add another module.

21 years agoAdding more docs.
John Terpstra [Sun, 13 Apr 2003 13:50:45 +0000 (13:50 +0000)]
Adding more docs.

21 years agostrncat get sometimes optimized to strcat by glibc and that triggers our
Simo Sorce [Sat, 12 Apr 2003 17:40:17 +0000 (17:40 +0000)]
strncat get sometimes optimized to strcat by glibc and that triggers our
"don't use strcat" define

reworked to snprintf

21 years agoPatch from Armijn Hemel <armijn@nl.linux.org> to fix build on
Jelmer Vernooij [Sat, 12 Apr 2003 17:12:12 +0000 (17:12 +0000)]
Patch from Armijn Hemel <armijn@nl.linux.org> to fix build on
FreeBSD 5 systems with a broken krb5-config

21 years agoadd smbcquotas to list of ignored files
Gerald Carter [Fri, 11 Apr 2003 23:50:49 +0000 (23:50 +0000)]
add smbcquotas to list of ignored files

21 years ago* We must return 0x2 as the majorversion for nt4 to upload drivers
Gerald Carter [Fri, 11 Apr 2003 23:50:21 +0000 (23:50 +0000)]
* We must return 0x2 as the majorversion for nt4 to upload drivers
* fix bug found by clobber_region()

21 years agosmbcquota patch from metze
Gerald Carter [Fri, 11 Apr 2003 23:32:00 +0000 (23:32 +0000)]
smbcquota patch from metze

21 years agocleanup lanman printing= for win98; device type is LPT1:; patch by Steve L.
Gerald Carter [Fri, 11 Apr 2003 23:29:23 +0000 (23:29 +0000)]
cleanup lanman printing= for win98; device type is LPT1:; patch by Steve L.

21 years agosimple fix to hopefully speed up srv_spoolss_replyopenprinter().
Gerald Carter [Fri, 11 Apr 2003 20:32:54 +0000 (20:32 +0000)]
simple fix to hopefully speed up srv_spoolss_replyopenprinter().
Use the client address from the pipe->conn->client_address
instead of trying to resolve the name in the _spoolss_rffpcn()
request.  Should make us more robust as well when the clients
are not registered in DNS or WINS.

21 years agoRemove PostScript docs. We didn't ship them before, they're large, only
Jelmer Vernooij [Fri, 11 Apr 2003 16:54:26 +0000 (16:54 +0000)]
Remove PostScript docs. We didn't ship them before, they're large, only
a few people use them. Sorry for adding them in the first place.

21 years agoSet the default schannel params to False until we know more.
Volker Lendecke [Fri, 11 Apr 2003 16:32:39 +0000 (16:32 +0000)]
Set the default schannel params to False until we know more.

Volker

21 years agoUpdate docs-status
Alexander Bokovoy [Fri, 11 Apr 2003 16:05:52 +0000 (16:05 +0000)]
Update docs-status

21 years agoFix current status of conversion
Alexander Bokovoy [Fri, 11 Apr 2003 15:57:51 +0000 (15:57 +0000)]
Fix current status of conversion

21 years agoFix typos in printing
Alexander Bokovoy [Fri, 11 Apr 2003 15:55:49 +0000 (15:55 +0000)]
Fix typos in printing

21 years agoFinish conversion of Winbind options. Only Misc section left!
Alexander Bokovoy [Fri, 11 Apr 2003 15:44:52 +0000 (15:44 +0000)]
Finish conversion of Winbind options. Only Misc section left!

21 years agoFinish conversion of VFS options. This section is not complete yet -- we miss documen...
Alexander Bokovoy [Fri, 11 Apr 2003 15:25:03 +0000 (15:25 +0000)]
Finish conversion of VFS options. This section is not complete yet -- we miss documentation for parametric options and new modules stuff

21 years agoFinish conversion of LDAP options
Alexander Bokovoy [Fri, 11 Apr 2003 15:17:53 +0000 (15:17 +0000)]
Finish conversion of LDAP options

21 years agoFinish conversion of Locking options
Alexander Bokovoy [Fri, 11 Apr 2003 15:01:39 +0000 (15:01 +0000)]
Finish conversion of Locking options

21 years agoFinish conversion of WINS options
Alexander Bokovoy [Fri, 11 Apr 2003 14:46:50 +0000 (14:46 +0000)]
Finish conversion of WINS options

21 years agoworkaround streams leak on SCO openserver 5.0.x
Gerald Carter [Fri, 11 Apr 2003 14:29:19 +0000 (14:29 +0000)]
workaround streams leak on SCO openserver 5.0.x

21 years agoFinish conversion of Browse options
Alexander Bokovoy [Fri, 11 Apr 2003 14:26:21 +0000 (14:26 +0000)]
Finish conversion of Browse options

21 years agoRemove Japanese HOWTO - Monyo has a howto for more recent
Jelmer Vernooij [Fri, 11 Apr 2003 11:49:00 +0000 (11:49 +0000)]
Remove Japanese HOWTO - Monyo has a howto for more recent
versions of samba, which I'll link in the HOWTO Collection

21 years agoA new RPC pipe! The \pipe\echo named pipe is for testing large RPC
Tim Potter [Fri, 11 Apr 2003 04:09:14 +0000 (04:09 +0000)]
A new RPC pipe!  The \pipe\echo named pipe is for testing large RPC
requests and responses and is only compiled in when --enable-developer
is passed to configure.  It includes server and client side code for
generating and responding to functions on this pipe.  The functions are:

 - AddOne: add one to the uint32 argument and return ig
 - EchoData: echo back a variable sized char array to the caller
 - SourceData: request a variable sized char array
 - SinkData: send a variable sized char array and throw it away

There's a win32 implementation of the client and server in the
junkcode CVS repository in the rpcecho-win32 subdirectory.

21 years agoUse more stricter syntax and work towards Docbook XML migration
Jelmer Vernooij [Thu, 10 Apr 2003 20:03:44 +0000 (20:03 +0000)]
Use more stricter syntax and work towards Docbook XML migration

21 years agoHandle deep referrals: check whether each component in the requested path of
Shirish Kalele [Thu, 10 Apr 2003 19:55:30 +0000 (19:55 +0000)]
Handle deep referrals: check whether each component in the requested path of
a referral request is a dfs link, and redirect.
Thanks to John Janosik <jpjanosi@us.ibm.com> for the patch.

21 years agoFix from Andrew Esh to ensure tdb_pack can't segfault.
Jeremy Allison [Thu, 10 Apr 2003 19:08:42 +0000 (19:08 +0000)]
Fix from Andrew Esh to ensure tdb_pack can't segfault.
Also stop it leaking memory like a sieve !
Jeremy.

21 years agoEnsure we're not filtering our essential delete messages.
Jeremy Allison [Thu, 10 Apr 2003 18:43:00 +0000 (18:43 +0000)]
Ensure we're not filtering our essential delete messages.
Added jobid debug when unpacking message.
Jeremy.

21 years agoRefer to Problems.sgml
Jelmer Vernooij [Thu, 10 Apr 2003 16:42:48 +0000 (16:42 +0000)]
Refer to Problems.sgml

21 years agoUse the <othername> tag for second names
Jelmer Vernooij [Thu, 10 Apr 2003 11:16:06 +0000 (11:16 +0000)]
Use the <othername> tag for second names

21 years agoENCRYPTION.txt is gone. Pointed out by Will Kemp.
Jelmer Vernooij [Thu, 10 Apr 2003 11:15:45 +0000 (11:15 +0000)]
ENCRYPTION.txt is gone. Pointed out by Will Kemp.

21 years agoRefer to the new 'Problems' chapter
Jelmer Vernooij [Thu, 10 Apr 2003 11:14:37 +0000 (11:14 +0000)]
Refer to the new 'Problems' chapter

21 years agoFix some references to 'ENCRYPTION.txt', but that should be the 'User Database'
Jelmer Vernooij [Thu, 10 Apr 2003 11:12:38 +0000 (11:12 +0000)]
Fix some references to 'ENCRYPTION.txt', but that should be the 'User Database'
chapter in the HOWTO

21 years agoPut info about solving samba problems in a seperate appendix (it was in the
Jelmer Vernooij [Thu, 10 Apr 2003 11:11:21 +0000 (11:11 +0000)]
Put info about solving samba problems in a seperate appendix (it was in the
PDC chapter now)

21 years agoAdd vorlon's script to convert filenames from CP850 to ISO8859-15
Jelmer Vernooij [Thu, 10 Apr 2003 11:08:54 +0000 (11:08 +0000)]
Add vorlon's script to convert filenames from CP850 to ISO8859-15

21 years agoFixed typos.
John Terpstra [Thu, 10 Apr 2003 06:47:01 +0000 (06:47 +0000)]
Fixed typos.

21 years agoMore docs.
John Terpstra [Thu, 10 Apr 2003 06:28:30 +0000 (06:28 +0000)]
More docs.

21 years agoFixes to linker flags for AIX winbind client from Stephen Roylance.
Tim Potter [Thu, 10 Apr 2003 05:16:49 +0000 (05:16 +0000)]
Fixes to linker flags for AIX winbind client from Stephen Roylance.

21 years agoAdded using different cnum test. WinXP and Samba now pass - Win2k fails.
Jeremy Allison [Thu, 10 Apr 2003 01:11:21 +0000 (01:11 +0000)]
Added using different cnum test. WinXP and Samba now pass - Win2k fails.
Jeremy.

21 years agoFix from Steve Langasek <vorlon@netexpress.net> for non-RPC printing.
Jeremy Allison [Wed, 9 Apr 2003 22:34:58 +0000 (22:34 +0000)]
Fix from Steve Langasek <vorlon@netexpress.net> for non-RPC printing.
Jeremy.

21 years agoEnsure we have WinXP-like semantics for checking TIDs and FIDs.
Jeremy Allison [Wed, 9 Apr 2003 22:32:04 +0000 (22:32 +0000)]
Ensure we have WinXP-like semantics for checking TIDs and FIDs.
Add torture test to ensure this is so.
Jeremy.

21 years agoUpdate info about how to generate text docs
Jelmer Vernooij [Wed, 9 Apr 2003 22:18:45 +0000 (22:18 +0000)]
Update info about how to generate text docs

21 years agoThrow out this doc in HEAD as well... only 2 textdocs left!
Jelmer Vernooij [Wed, 9 Apr 2003 22:16:02 +0000 (22:16 +0000)]
Throw out this doc in HEAD as well... only 2 textdocs left!

21 years agocollaps same repeted task into 2 code paths
Simo Sorce [Wed, 9 Apr 2003 17:36:33 +0000 (17:36 +0000)]
collaps same repeted task into 2 code paths

21 years agoConvert Logon parameters.
Alexander Bokovoy [Wed, 9 Apr 2003 17:10:44 +0000 (17:10 +0000)]
Convert Logon parameters.

21 years agoComplete what I've seen (and then some)t of the PAC.
Jim McDonough [Wed, 9 Apr 2003 16:48:59 +0000 (16:48 +0000)]
Complete what I've seen (and then some)t of the PAC.

I haven't seen the rid+attr arrays for group membership, nor sids or the same
kind of arrays for resource domains, so I don't know how that will work.

Also, the PAC info type 10 is now decoded, but I don't know what it's for.
It has an NTTIME, a 16-bit name length, and a username.  According to M$,
it's not needed, because they didn't doc it...

21 years agoFinish conversion of Filenames
Alexander Bokovoy [Wed, 9 Apr 2003 15:53:41 +0000 (15:53 +0000)]
Finish conversion of Filenames

21 years agoThis is the netlogon schannel client code. Try a
Volker Lendecke [Wed, 9 Apr 2003 15:47:06 +0000 (15:47 +0000)]
This is the netlogon schannel client code. Try a

rpcclient -S pdc -U% -c "samlogon user password"

and it should work with the schannel. Needs testing platforms
different from NT4SP6.

Volker

21 years agono needed anymore
Gerald Carter [Wed, 9 Apr 2003 15:34:12 +0000 (15:34 +0000)]
no needed anymore

21 years agoFix double free on error and typo
Jelmer Vernooij [Wed, 9 Apr 2003 14:49:34 +0000 (14:49 +0000)]
Fix double free on error and typo

21 years agoNext batch of conversions: File names.
Alexander Bokovoy [Wed, 9 Apr 2003 14:38:24 +0000 (14:38 +0000)]
Next batch of conversions: File names.
Fixed some wrong context marks (most of "hide ..." parameters are per-share)

21 years agoUse fprintf(f, ...) instead of plain printf() - patch by Ronan Waide
Jelmer Vernooij [Wed, 9 Apr 2003 14:35:14 +0000 (14:35 +0000)]
Use fprintf(f, ...) instead of plain printf() - patch by Ronan Waide

21 years agoAuth2, not also Auth3 sends us flags back, although all the callers
Volker Lendecke [Wed, 9 Apr 2003 10:09:32 +0000 (10:09 +0000)]
Auth2, not also Auth3 sends us flags back, although all the callers
ignore it.

Volker

21 years agoA little clarification in the rpc auth header struct.
Volker Lendecke [Wed, 9 Apr 2003 09:52:57 +0000 (09:52 +0000)]
A little clarification in the rpc auth header struct.

Volker

21 years agoPut the core schannel functions to parse_prs.c. They are also used by
Volker Lendecke [Wed, 9 Apr 2003 09:29:47 +0000 (09:29 +0000)]
Put the core schannel functions to parse_prs.c. They are also used by
schannel clients.

Volker

21 years agoFixing typo. Metze made me do it!
John Terpstra [Wed, 9 Apr 2003 07:42:54 +0000 (07:42 +0000)]
Fixing typo. Metze made me do it!

21 years agounix_strupper, unix_strlower: Remove fixed-length static buffer that
Martin Pool [Wed, 9 Apr 2003 07:34:49 +0000 (07:34 +0000)]
unix_strupper, unix_strlower: Remove fixed-length static buffer that
makes these functions fail for strings over 512 characters.  Now we
use convert_string_allocate, which grows a buffer as necessary.

21 years agoMaking sure this info is not lost. Someone will eventually fix/update/extend/usurp it.
John Terpstra [Wed, 9 Apr 2003 06:56:45 +0000 (06:56 +0000)]
Making sure this info is not lost. Someone will eventually fix/update/extend/usurp it.

21 years agoStrCaseCmp tests: Add some tests in Katakana. Convert strings to
Martin Pool [Wed, 9 Apr 2003 06:50:59 +0000 (06:50 +0000)]
StrCaseCmp tests: Add some tests in Katakana.  Convert strings to
UTF-8 before passing to test harness.

21 years agoCan I suggest this modification to the documentation Makefile? If
Tim Potter [Wed, 9 Apr 2003 06:15:58 +0000 (06:15 +0000)]
Can I suggest this modification to the documentation Makefile?  If
docbook2man fails then we shouldn't charge ahead with the rest of the
target commands and generate more confusing error messages.

21 years agobin/smbcontrol needs to be built to run tpot's new tests of it.
Martin Pool [Wed, 9 Apr 2003 06:05:12 +0000 (06:05 +0000)]
bin/smbcontrol needs to be built to run tpot's new tests of it.

21 years agoanother forgotten merge sitting on my laptop from app_head; only stall open_printer...
Gerald Carter [Wed, 9 Apr 2003 06:02:56 +0000 (06:02 +0000)]
another forgotten merge sitting on my laptop from app_head; only stall open_printer when 2k client opens with admin privs & fix reply for ChangeId printer data reply

21 years agoIgnore .po and .po32 files.
Martin Pool [Wed, 9 Apr 2003 06:01:15 +0000 (06:01 +0000)]
Ignore .po and .po32 files.

21 years agoTests for smbcontrol.
Tim Potter [Wed, 9 Apr 2003 05:57:00 +0000 (05:57 +0000)]
Tests for smbcontrol.

21 years agoIgnore testtmp directory.
Tim Potter [Wed, 9 Apr 2003 05:55:33 +0000 (05:55 +0000)]
Ignore testtmp directory.

21 years agopoptify smbcontrol
Tim Potter [Wed, 9 Apr 2003 05:53:31 +0000 (05:53 +0000)]
poptify smbcontrol

21 years agoRewrite of smbcontrol - it was a bit of a mess. It should now be much
Tim Potter [Wed, 9 Apr 2003 05:52:01 +0000 (05:52 +0000)]
Rewrite of smbcontrol - it was a bit of a mess.  It should now be much
nicer to use and more hackable.

 - converted to popt

 - text message destinations (except for broadcast smbd) are resolved
   using files in piddir so the string 'winbindd' is now a destination

 - added --timeout option to specify timeout value

 - deleted complicated handling of debug args as separate command line
   arguments: use shell quoting instead

 - deleted interactive mode as punishment for using strtok() (-:

 - much improved command line argument checking

Some of this stuff was broken before I started (print notify,
profiling) but the basics still work (ping, pool-usage, debug,
debuglevel).

21 years agoSet character set to default (UTF-8) before running tests.
Martin Pool [Wed, 9 Apr 2003 05:31:39 +0000 (05:31 +0000)]
Set character set to default (UTF-8) before running tests.

21 years agot_push_ucs2, t_strcmp: Run tests only once by default, rather than
Martin Pool [Wed, 9 Apr 2003 05:22:17 +0000 (05:22 +0000)]
t_push_ucs2, t_strcmp: Run tests only once by default, rather than
10000 times.  (In theory they should be pure functions....)  You can
specify a parameter to repeat them if you want to e.g. measure
performance.

21 years agoforgotten merge left on disk; remove extra SAFE_FREE()
Gerald Carter [Wed, 9 Apr 2003 04:38:56 +0000 (04:38 +0000)]
forgotten merge left on disk; remove extra SAFE_FREE()

21 years agoInstall libsmbclient.h from $(srcdir)
Tim Potter [Wed, 9 Apr 2003 04:20:29 +0000 (04:20 +0000)]
Install libsmbclient.h from $(srcdir)

21 years agoAutoconfiscate the name of the winbind shared library file. Under
Tim Potter [Wed, 9 Apr 2003 04:05:42 +0000 (04:05 +0000)]
Autoconfiscate the name of the winbind shared library file.  Under
IRIX this is libns_winbind - everyone else is libnss_winbind.

This simplifies the Makefile a bit and also fixes the 'nsswitch' target
under IRIX.

21 years agoWinbind client for AIX. Written by Steve Roylance.
Tim Potter [Wed, 9 Apr 2003 03:51:52 +0000 (03:51 +0000)]
Winbind client for AIX.  Written by Steve Roylance.

21 years agoEnsure print queue array is zeroed out before returning.
Jeremy Allison [Wed, 9 Apr 2003 00:00:50 +0000 (00:00 +0000)]
Ensure print queue array is zeroed out before returning.
Jeremy.