kai/samba.git
17 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Tue, 28 Jan 2003 03:37:15 +0000 (03:37 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit b741abd496621586040081c04674ae53cb5db47c)

17 years agoFactor out common code in the NTLMSSP/SPNEGO code.
Andrew Bartlett [Tue, 28 Jan 2003 03:37:14 +0000 (03:37 +0000)]
Factor out common code in the NTLMSSP/SPNEGO code.

The idea here is to seperate, as much as possible, the SPNEGO layer from the
NTLMSSP layer.  This not only helps us with protocol correctness, but also
should allow further mechinisms to be added with relitive ease.  I indend to
make the kerberos code use this shortly.

I've never seen the 'zero length blob' form of the anonymous login, so I've
removed that case.

Andrew Bartlett
(This used to be commit a8773c9f825539c5bc17e4200b16d7ebbe0b7620)

17 years agoFinally we compile with Heimdal as well as MIT ! Wonder if it works... :-).
Jeremy Allison [Tue, 28 Jan 2003 03:31:33 +0000 (03:31 +0000)]
Finally we compile with Heimdal as well as MIT ! Wonder if it works... :-).
Jeremy.
(This used to be commit 1b71786c161cd8ec4c3c0c6b178370ed50feeef4)

17 years agoperformance patch from HP-UX folks (cant remember who)
Gerald Carter [Tue, 28 Jan 2003 02:15:11 +0000 (02:15 +0000)]
performance patch from HP-UX folks (cant remember who)
(This used to be commit d6c22e693efee88c17f1f0f6c861e7101b3fec99)

17 years agoperformance patch from HP-UX folks (cant remember who)
Gerald Carter [Tue, 28 Jan 2003 02:14:33 +0000 (02:14 +0000)]
performance patch from HP-UX folks (cant remember who)
(This used to be commit 9180e2d062ac18dc5e7e8d0737973dc9e806e412)

17 years agoCUPS-PRINTER_CLASS patch from Michael Sweet
Gerald Carter [Tue, 28 Jan 2003 01:58:51 +0000 (01:58 +0000)]
CUPS-PRINTER_CLASS patch from Michael Sweet
(This used to be commit d74d4fe0b0c64d500367e4969be37f4541227d3e)

17 years agoCUPS-PRINTER_CLASS patch from Michael Sweet
Gerald Carter [Tue, 28 Jan 2003 01:58:38 +0000 (01:58 +0000)]
CUPS-PRINTER_CLASS patch from Michael Sweet
(This used to be commit 8d0bde43156f5511df7a5a6865b361ebc2a933eb)

17 years agoGet smbd to link with Heimdal. Still missing some client progs...
Jeremy Allison [Tue, 28 Jan 2003 00:33:21 +0000 (00:33 +0000)]
Get smbd to link with Heimdal. Still missing some client progs...
Jeremy.
(This used to be commit 85dda434763bbcea260c800599e4b6b73afcf174)

17 years agoreran autoconf
Gerald Carter [Mon, 27 Jan 2003 17:57:24 +0000 (17:57 +0000)]
reran autoconf
(This used to be commit f89a99bf881f691c4fd8063fe0c51b84466a4cf6)

17 years agoOne more try to fix the GNU Make dependency
Richard Sharpe [Mon, 27 Jan 2003 07:57:59 +0000 (07:57 +0000)]
One more try to fix the GNU Make dependency
(This used to be commit 84b6f32cff2096ac44778160ed2c17ca271d6d45)

17 years agoOne more fix ... Things link now if you don't use dynamic RPC stuff
Richard Sharpe [Mon, 27 Jan 2003 07:12:20 +0000 (07:12 +0000)]
One more fix ... Things link now if you don't use dynamic RPC stuff
(This used to be commit 58a7744f4abebfbf87b9050b98db25c51321defa)

17 years agoOne more try to get rid of the dependency on GNU MAKE
Richard Sharpe [Mon, 27 Jan 2003 06:15:27 +0000 (06:15 +0000)]
One more try to get rid of the dependency on GNU MAKE
(This used to be commit a96592fb69fdebc5abe97a0b46055bd1486e7b94)

17 years agoFix the dependency on GNU Make introduced by the DYNAMIC RPC stuff.
Richard Sharpe [Mon, 27 Jan 2003 05:54:30 +0000 (05:54 +0000)]
Fix the dependency on GNU Make introduced by the DYNAMIC RPC stuff.

I have not tested this in a GNU MAKE environment yet.
(This used to be commit 5e99472d5b68dc393a5468b8949c3ad962a239f7)

17 years agosync with tpot's change to gencache_get() in HEAD
Gerald Carter [Fri, 24 Jan 2003 21:25:12 +0000 (21:25 +0000)]
sync with tpot's change to gencache_get() in HEAD
(This used to be commit 305f167db2a34cdf3dd6378954e815ce34111232)

17 years agomasking an assert error in Tim's wins server checking code; needs a proper fix after...
Gerald Carter [Fri, 24 Jan 2003 21:20:31 +0000 (21:20 +0000)]
masking an assert error in Tim's wins server checking code; needs a proper fix after I talk to tpot
(This used to be commit 607bc0b4fca38640c6b5c730aa4119e2aa9006fc)

17 years agoFix memory leak found my Leo Qiu <leoxqiu@yahoo.com>.
Jeremy Allison [Fri, 24 Jan 2003 19:20:01 +0000 (19:20 +0000)]
Fix memory leak found my Leo Qiu <leoxqiu@yahoo.com>.
Jeremy.
(This used to be commit af6e4ea640828438fe234db1652dc4c1e10a487e)

17 years agoMemory leak fix from Leo Qiu <leoxqiu@yahoo.com>.
Jeremy Allison [Fri, 24 Jan 2003 19:19:25 +0000 (19:19 +0000)]
Memory leak fix from Leo Qiu <leoxqiu@yahoo.com>.
Jeremy.
(This used to be commit efd52f6ca7784a3edfc0371b5ff2054ad9704ab7)

17 years agoFixed typo found by tpot.
Jeremy Allison [Fri, 24 Jan 2003 19:05:32 +0000 (19:05 +0000)]
Fixed typo found by tpot.
Jeremy.
(This used to be commit 7e2bc1fe58f5da437e55867d1205ca6ceade4c74)

17 years agoCommit just a little more infrastructure for HAVE_GETDIRENTRIES
Richard Sharpe [Fri, 24 Jan 2003 18:58:52 +0000 (18:58 +0000)]
Commit just a little more infrastructure for HAVE_GETDIRENTRIES
(This used to be commit fdd449fe7b4e858765f485cbbe2cc1b91a4e0c53)

17 years agoAt the prompting, start to add infrastructure to detect the presence of
Richard Sharpe [Fri, 24 Jan 2003 18:35:22 +0000 (18:35 +0000)]
At the prompting, start to add infrastructure to detect the presence of
getdirentries. We would also detect getdents if present. This has some
rudimentary support already.
(This used to be commit 916c8784d21f566a1fb048301c3e78a9ecc52ea8)

17 years agomerging [un]signed declaration
Gerald Carter [Fri, 24 Jan 2003 16:34:54 +0000 (16:34 +0000)]
merging [un]signed declaration
(This used to be commit 15be89e72fee97106db1bd06d18060c21bbf78e1)

17 years agoMerge of increment_smbd_process_count() fix from appliance.
Tim Potter [Fri, 24 Jan 2003 04:04:49 +0000 (04:04 +0000)]
Merge ... increment_smbd_process_count() fix from appliance.
(This used to be commit c39c54e6b6adcdab7647e36e6c1b0acbdeeaf111)

17 years agoThanks Meeester Potter, for reverting *all* my Heimdal changes because
Jeremy Allison [Thu, 23 Jan 2003 18:15:18 +0000 (18:15 +0000)]
Thanks Meeester Potter, for reverting *all* my Heimdal changes because
I mistyped a comma :-).
Jeremy.
(This used to be commit 04cc149c756c396012cfa321a74724b077302b95)

17 years agoMerge of max log file fixes from appliance:
Tim Potter [Thu, 23 Jan 2003 03:02:08 +0000 (03:02 +0000)]
Merge of max log file fixes from appliance:

 - smbd/process.c: check log file sizes more often than in
       timeout_processing()

 - lib/debug.c: increment debug_count inside Debug1() instead of
       when log file sizes are checked.
(This used to be commit 303710c2065850beebef678e657633497e4d8452)

17 years agoFixed typo.
Tim Potter [Thu, 23 Jan 2003 00:21:22 +0000 (00:21 +0000)]
Fixed typo.
(This used to be commit 09d8a8e87fbb13928b863f659381dddb09592985)

17 years agoFixed typo.
Tim Potter [Thu, 23 Jan 2003 00:21:00 +0000 (00:21 +0000)]
Fixed typo.
(This used to be commit 9b11ede90129fab8311344ce8621556fd6cff7dc)

17 years agoSync with HEAD. The -L/usr/local/lib bit looks a bit dodgy though.
Tim Potter [Wed, 22 Jan 2003 23:51:39 +0000 (23:51 +0000)]
Sync with HEAD.  The -L/usr/local/lib bit looks a bit dodgy though.
(This used to be commit 81bfd9a4d9c80b87b020b998e9722750339c422d)

17 years agoSync with HEAD.
Tim Potter [Wed, 22 Jan 2003 23:50:14 +0000 (23:50 +0000)]
Sync with HEAD.
(This used to be commit db3901827fe776041fa38900e80ab2fab94c28a6)

17 years agoMinor merges from HEAD.
Tim Potter [Wed, 22 Jan 2003 23:49:54 +0000 (23:49 +0000)]
Minor merges from HEAD.
(This used to be commit 902a1dc1d5f74ce94496d03327c07416bc2061be)

17 years agoMerge: remove dead function.
Tim Potter [Wed, 22 Jan 2003 23:33:18 +0000 (23:33 +0000)]
Merge: remove dead function.
(This used to be commit 648307ab3d16cb557cead27d6799a741a266c0d5)

17 years agoMerge of kerberos changes to make this branch build again!
Tim Potter [Wed, 22 Jan 2003 23:32:33 +0000 (23:32 +0000)]
Merge ... kerberos changes to make this branch build again!
(This used to be commit 51b319f57f28e3993919d7f3db0251a724902332)

17 years agoMerge of wins server dead list into gencache.tdb
Tim Potter [Wed, 22 Jan 2003 23:32:03 +0000 (23:32 +0000)]
Merge of wins server dead list into gencache.tdb
(This used to be commit d1107efa1cd23cbfe8da6d3462714a6f3ec570ae)

17 years agoMerge: Make torture tools in everything target.
Tim Potter [Wed, 22 Jan 2003 23:31:04 +0000 (23:31 +0000)]
Merge: Make torture tools in everything target.
(This used to be commit 087607e03a6db8e9ec021e13fe00303ec50d71a6)

17 years agofix for CR 1603; provide description of NT_STATUS_PIPE_NOT_AVAILABLE
Gerald Carter [Wed, 22 Jan 2003 14:37:50 +0000 (14:37 +0000)]
fix for CR 1603; provide description of NT_STATUS_PIPE_NOT_AVAILABLE
(This used to be commit fcf63df8bfae37680ad7af48c65af62abc4e0020)

17 years agofix for CR 1603; provide description of NT_STATUS_PIPE_NOT_AVAILABLE
Gerald Carter [Wed, 22 Jan 2003 14:34:00 +0000 (14:34 +0000)]
fix for CR 1603; provide description of NT_STATUS_PIPE_NOT_AVAILABLE
(This used to be commit b063acd9062704be6352647dae2ad801ecacec75)

17 years agoGet closer to Heimdal compile... Damn. HEAD has different code in
Jeremy Allison [Tue, 21 Jan 2003 20:43:26 +0000 (20:43 +0000)]
Get closer to Heimdal compile... Damn. HEAD has different code in
kerberos_verify...
Jeremy.
(This used to be commit e8c4098da619a1429cc4c8251761333a7c0f3458)

17 years agoProperly display popt errors. Also fix debug to be -d for consistency with other...
Jim McDonough [Tue, 21 Jan 2003 14:08:33 +0000 (14:08 +0000)]
Properly display popt errors.  Also fix debug to be -d for consistency with other progs.
(This used to be commit c58c84e8066d5d17e1cde99b83d259030f15458b)

17 years agorevert accidentally committed changes
Jim McDonough [Tue, 21 Jan 2003 14:05:37 +0000 (14:05 +0000)]
revert accidentally committed changes
(This used to be commit 5d43346761cd120c12766536efb0513994d7bace)

17 years agoProperly display popt errors. Also fix debug to be -d for consistency with other...
Jim McDonough [Tue, 21 Jan 2003 13:58:16 +0000 (13:58 +0000)]
Properly display popt errors.  Also fix debug to be -d for consistency with other progs.
(This used to be commit 97133f7168852dc185dbf4492afcaf4b68180f65)

17 years agoFixup proto generation to not include krb5 specific symbols
Jeremy Allison [Tue, 21 Jan 2003 13:33:36 +0000 (13:33 +0000)]
Fixup proto generation to not include krb5 specific symbols
if no kerberos selected. Noticed by Metze.
Jeremy.
(This used to be commit 1684719695acb7168115b032fc1ec672509239ea)

17 years agoFixup proto generation to not include krb5 specific symbols
Jeremy Allison [Tue, 21 Jan 2003 13:33:31 +0000 (13:33 +0000)]
Fixup proto generation to not include krb5 specific symbols
if no kerberos selected. Noticed by Metze.
Jeremy.
(This used to be commit 0c98f779f05431ac4d298c9f021fca85d16aebae)

17 years agoUpdated some comments.
Tim Potter [Tue, 21 Jan 2003 06:30:11 +0000 (06:30 +0000)]
Updated some comments.
(This used to be commit f150af98a77ebcfa848735b7a67bbb95bd6d5b57)

17 years agoMore fixes getting us closer to full Heimdal compile....
Jeremy Allison [Tue, 21 Jan 2003 06:23:49 +0000 (06:23 +0000)]
More fixes getting us closer to full Heimdal compile....
Jeremy.
(This used to be commit a7ee6ed64500a0d949849da6996b7dc837518f00)

17 years agoMore fixes getting us closer to full Heimdal compile....
Jeremy Allison [Tue, 21 Jan 2003 06:23:10 +0000 (06:23 +0000)]
More fixes getting us closer to full Heimdal compile....
Jeremy.
(This used to be commit 193cc4f4fc876c66e97ea6b82bae431d0247c1fa)

17 years agoKeep the list of dead WINS servers in gencache.tdb instead of in
Tim Potter [Tue, 21 Jan 2003 05:05:10 +0000 (05:05 +0000)]
Keep the list of dead WINS servers in gencache.tdb instead of in
memory.  This allows the information to be shared amongst all smbd
processes.

HP CR #1099
(This used to be commit 88d977ecceaec45ab6b238ddd32d92885da19793)

17 years agoMake the valstr and timeout return pointers optional so a caller can
Tim Potter [Tue, 21 Jan 2003 05:01:05 +0000 (05:01 +0000)]
Make the valstr and timeout return pointers optional so a caller can
pass NULL if it doesn't care about the gencache key.
(This used to be commit 9ff4fe7e0d95c0cea94f65c00fea21600308d7d1)

17 years agoDeleted arguments to help output - they didn't work.
Tim Potter [Tue, 21 Jan 2003 03:45:18 +0000 (03:45 +0000)]
Deleted arguments to help output - they didn't work.
(This used to be commit 8b167a45a6ae041cd35dbf2a25d7a300f86440a2)

17 years agodon't free() auto variables; fixes segfault when looking up RefusePasswordChange...
Gerald Carter [Tue, 21 Jan 2003 03:42:38 +0000 (03:42 +0000)]
don't free() auto variables; fixes segfault when looking up RefusePasswordChange registry value
(This used to be commit d89b0bff44fe31244b1835aee0c96c4900d90dc6)

17 years agodon't free() auto variables; fixes segfault when looking up RefusePasswordChange...
Gerald Carter [Tue, 21 Jan 2003 03:42:26 +0000 (03:42 +0000)]
don't free() auto variables; fixes segfault when looking up RefusePasswordChange registry value
(This used to be commit b3fc458e9e4b90deb971dd2495786e74c8b425bd)

17 years agosanity checks from Ken Cross
Gerald Carter [Tue, 21 Jan 2003 01:21:33 +0000 (01:21 +0000)]
sanity checks from Ken Cross
(This used to be commit 9f35846b8e0d711c9101ade9e79394219045383c)

17 years agosanity checks from Ken Cross
Gerald Carter [Tue, 21 Jan 2003 01:20:48 +0000 (01:20 +0000)]
sanity checks from Ken Cross
(This used to be commit ec26877f0b4fbe2c651a6069d22b9ac0637aa2d1)

17 years agoshould be HAVE_KRB5_SET_REAL_TIME (HAVE_ was missing)...fix the build
Jim McDonough [Mon, 20 Jan 2003 19:37:11 +0000 (19:37 +0000)]
should be HAVE_KRB5_SET_REAL_TIME (HAVE_ was missing)...fix the build
(This used to be commit 9f1f3cb8bb3d7d9b4fb414b06ad10356f775bb28)

17 years agoshould be HAVE_KRB5_SET_REAL_TIME (HAVE_ was missing)...fix the build
Jim McDonough [Mon, 20 Jan 2003 19:31:01 +0000 (19:31 +0000)]
should be HAVE_KRB5_SET_REAL_TIME (HAVE_ was missing)...fix the build
(This used to be commit aceaaad1c2efce41fe0e03655b0ca0583788d7ab)

17 years agoAdd FIXME about dodgy argument parser.
Martin Pool [Mon, 20 Jan 2003 00:53:35 +0000 (00:53 +0000)]
Add FIXME about dodgy argument parser.
(This used to be commit a58028330849dbb1706793fdc6e36161f7baebed)

17 years agoMerge in more of the SuSE patches for Heimdal. These changes show how
Jeremy Allison [Sun, 19 Jan 2003 22:27:32 +0000 (22:27 +0000)]
Merge in more of the SuSE patches for Heimdal. These changes show how
to add a function without an explicit #ifdef HEIMDAL which I'm trying
to avoid.
Jeremy.
(This used to be commit 92ecd0bf0fe2cc4f6c86ca48e6e458e726470a50)

17 years agoMerge in more of the SuSE patches for Heimdal. These changes show how
Jeremy Allison [Sun, 19 Jan 2003 22:25:34 +0000 (22:25 +0000)]
Merge in more of the SuSE patches for Heimdal. These changes show how
to add a function without an explicit #ifdef HEIMDAL which I'm trying
to avoid.
Jeremy.
(This used to be commit 77aeb262ef7c7cd3d206afe2d5445caaca943dfd)

17 years agostrip any trailing \'s from reg key names in an open
Gerald Carter [Sun, 19 Jan 2003 05:04:20 +0000 (05:04 +0000)]
strip any trailing \'s from reg key names in an open
(This used to be commit 03807cd56429e167ca8f3c003a4468461ecb854b)

17 years agostrip any trailing \'s from reg key names in an open
Gerald Carter [Sun, 19 Jan 2003 05:04:03 +0000 (05:04 +0000)]
strip any trailing \'s from reg key names in an open
(This used to be commit d13f727c4b442d2327d134a0944c15f4cdc82aa2)

17 years agoonly supporting the Net::LDAP module now
Gerald Carter [Sun, 19 Jan 2003 03:51:32 +0000 (03:51 +0000)]
only supporting the Net::LDAP module now
(This used to be commit 3e9c970597b190335529e8854f3d2af2c7d8d80e)

17 years agoFix some debug levels (were set to 0 with RPC module patch), and
Jim McDonough [Sat, 18 Jan 2003 20:41:19 +0000 (20:41 +0000)]
Fix some debug levels (were set to 0 with RPC module patch), and
change one fprintf(stderr,...) to DEBUG.
(This used to be commit 77f8913977343023f8ce123c305dcffc7463357b)

17 years agoMerge from 3.0.0 tree.
John Terpstra [Sat, 18 Jan 2003 08:14:39 +0000 (08:14 +0000)]
Merge from 3.0.0 tree.
(This used to be commit 7ecd1694dd19cf27ee61be751d81e0ad92f6d531)

17 years agoEr, I think this is a better spelling. (-:
Tim Potter [Sat, 18 Jan 2003 05:51:13 +0000 (05:51 +0000)]
Er, I think this is a better spelling.  (-:
(This used to be commit 876f0b4d197586c1cd61d6dafb3ba97de8315b55)

17 years agoadding docs for rpc plugin libs
Gerald Carter [Sat, 18 Jan 2003 01:51:46 +0000 (01:51 +0000)]
adding docs for rpc plugin libs
(This used to be commit 36ade606e8fc7578f83590de45efbecdbe747011)

17 years agoremoving extra debug statement
Gerald Carter [Sat, 18 Jan 2003 01:41:00 +0000 (01:41 +0000)]
removing extra debug statement
(This used to be commit 657f8c25a585a02b86f4021e38641ee896f098d2)

17 years agoremoving extra debug statement
Gerald Carter [Sat, 18 Jan 2003 01:40:29 +0000 (01:40 +0000)]
removing extra debug statement
(This used to be commit 1244ef3dbec1b63eee48d3086661afe26e23e4c0)

17 years agodlsym() can return NULL validly, so we can't use that as the error test.
Jim McDonough [Fri, 17 Jan 2003 21:23:14 +0000 (21:23 +0000)]
dlsym() can return NULL validly, so we can't use that as the error test.
dlerror() is the correct way to test.
(This used to be commit 41b1be15bac271116a7096e511cc029685013e1f)

17 years agoEnable dynamic loading of RPC modules. See docs/textdocs/RPC_PLUGGIN.txt for instruc...
Jim McDonough [Fri, 17 Jan 2003 20:57:26 +0000 (20:57 +0000)]
Enable dynamic loading of RPC modules.  See docs/textdocs/RPC_PLUGGIN.txt for instructions.
(This used to be commit d51e12df78ff8fc721d693fedbd1c633f39edd49)

17 years agosync WHATSNEW from SAMBA_3_0
Gerald Carter [Fri, 17 Jan 2003 16:34:25 +0000 (16:34 +0000)]
sync WHATSNEW from SAMBA_3_0
(This used to be commit 41a86bb66b1e48b8410acbfeb68231880d977927)

17 years agoconnect to the actual netbios name in smb.conf and not LOCALHOST
Gerald Carter [Fri, 17 Jan 2003 14:34:23 +0000 (14:34 +0000)]
connect to the actual netbios name in smb.conf and not LOCALHOST
(This used to be commit 3e9701f34c730783648fb2a666f7b57478e5942d)

17 years agoconnect to the actual netbios name in smb.conf and not LOCALHOST
Gerald Carter [Fri, 17 Jan 2003 14:34:07 +0000 (14:34 +0000)]
connect to the actual netbios name in smb.conf and not LOCALHOST
(This used to be commit 50d65996e497a6b4647b74dadb4a7f3f5dddf2ed)

17 years agosync with HEAD; link to HOWTO index
Gerald Carter [Fri, 17 Jan 2003 14:33:31 +0000 (14:33 +0000)]
sync with HEAD; link to HOWTO index
(This used to be commit c31d5036afc6b717dbc6b63742f39c95c01094ae)

17 years agock at documenting Win9X/ME Profile Handling.
John Terpstra [Fri, 17 Jan 2003 06:59:38 +0000 (06:59 +0000)]
ck at documenting Win9X/ME Profile Handling.
(This used to be commit 7d8550b29a8730e323c410934b9aecd8abdbfbd3)

17 years agoJanitorial duty...
Jeremy Allison [Fri, 17 Jan 2003 06:40:12 +0000 (06:40 +0000)]
Janitorial duty...
fix some undefined behaviour with increments in C. In theory a
compiler could have produced complete crap for this code. (tridge).
Jeremy.
(This used to be commit 2b4335f06265940582f389f48dc4f87f452a2703)

17 years agoFix reference count bug where smbd's would not terminate with no
Jeremy Allison [Fri, 17 Jan 2003 06:35:33 +0000 (06:35 +0000)]
Fix reference count bug where smbd's would not terminate with no
open resources.
Jeremy.
(This used to be commit 0173d6fe164568a73247fa542895443fad6c20c3)

17 years agoFix reference count bug where smbd's would not terminate with no
Jeremy Allison [Fri, 17 Jan 2003 06:34:22 +0000 (06:34 +0000)]
Fix reference count bug where smbd's would not terminate with no
open resources.
Jeremy.
(This used to be commit b7e5a2c5474e9edd8fa783462af8986b6bd426a5)

17 years agoreverted this patch till I sort out the craziness with UNIHDR
Andrew Tridgell [Fri, 17 Jan 2003 06:15:18 +0000 (06:15 +0000)]
reverted this patch till I sort out the craziness with UNIHDR
(This used to be commit e3d00fa47d38cd214f5e350e1d6b30d90ed8a52c)

17 years agoThis removes the 3rd argument from init_unistr2(). There were 240
Andrew Tridgell [Fri, 17 Jan 2003 04:58:45 +0000 (04:58 +0000)]
This removes the 3rd argument from init_unistr2(). There were 240
calls to init_unistr2() in the code and every one of them got the 3rd
argument incorrect, so I thought it best just to remove the argument.

The incorrect usage was caused by callers using strlen() to determine
the length of the string. The 3rd argument to init_unistr2() was
supposed to be the character length, not the byte length of the
string, so for non-english this could come out wrong.

I also removed the bogus 'always allocate at least 256 bytes'
hack. There may be some code that relies on this, but if there is then
the code is broken and needs fixing.
(This used to be commit b9eff31b1433c81fbff733e194914a40f25e3bda)

17 years agothe 'static' keyword here is useless as we are not declaring a
Andrew Tridgell [Fri, 17 Jan 2003 04:12:12 +0000 (04:12 +0000)]
the 'static' keyword here is useless as we are not declaring a
variable or function
(This used to be commit f2c9c64900c4da24f73b188deb0f57271e3bf3e7)

17 years agofix some undefined behaviour with increments in C. In theory a
Andrew Tridgell [Fri, 17 Jan 2003 04:09:23 +0000 (04:09 +0000)]
fix some undefined behaviour with increments in C. In theory a
compiler could have produced complete crap for this code.
(This used to be commit 0e90da0810b60dd1c2b1ec46c1a2993856b919d3)

17 years agoLet's clean up client side ntlmssp!
Tim Potter [Fri, 17 Jan 2003 04:05:28 +0000 (04:05 +0000)]
Let's clean up client side ntlmssp!

Removed a dead function.
(This used to be commit a1c790b5ea8de120a1d8710ac190955aea28246f)

17 years agoRemove unused variable in reply_spnego_ntlmssp_ok
Tim Potter [Fri, 17 Jan 2003 01:08:09 +0000 (01:08 +0000)]
Remove unused variable in reply_spnego_ntlmssp_ok
(This used to be commit 60c13a767523e3ec4db7ee5f5c6b20ca07d2a00a)

17 years agoupdate for 3.0
Herb Lewis [Thu, 16 Jan 2003 23:34:51 +0000 (23:34 +0000)]
update for 3.0
(This used to be commit 5b70b6cd7e0d8c9462820e27e9d2fe1fc82df215)

17 years agoupdate for 3.0
Herb Lewis [Thu, 16 Jan 2003 23:34:24 +0000 (23:34 +0000)]
update for 3.0
(This used to be commit 8b2d19eeaa59c709315062df6d68cf16b2905054)

17 years agoMerge the fix from head about short variables.
Richard Sharpe [Thu, 16 Jan 2003 23:29:14 +0000 (23:29 +0000)]
Merge the fix from head about short variables.
(This used to be commit e408bf329163e45e60ebd1aef648f79aaeef1c13)

17 years agoFix an error where the SK Offset was truncated to 16 bits. Variables needed
Richard Sharpe [Thu, 16 Jan 2003 23:27:37 +0000 (23:27 +0000)]
Fix an error where the SK Offset was truncated to 16 bits. Variables needed
to be unsigned int (DWORD) not unsigned int (WORD).
(This used to be commit e1e9c29c4095405d7031cfd618e06dd841075aad)

17 years agoFixed up mutex protection around winbindd logon code. Sync with APP-HEAD.
Jeremy Allison [Thu, 16 Jan 2003 20:08:33 +0000 (20:08 +0000)]
Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD.
Jeremy.
(This used to be commit 3d04872499332ef2d8e7479b924afc8fc1ac29d7)

17 years agoFixed up mutex protection around winbindd logon code. Sync with APP-HEAD.
Jeremy Allison [Thu, 16 Jan 2003 20:08:26 +0000 (20:08 +0000)]
Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD.
Jeremy.
(This used to be commit daf179bcd6297b525bfc644efb154734723f4d58)

17 years agoAdding genlogon (from 3.0.0).
John Terpstra [Thu, 16 Jan 2003 05:55:47 +0000 (05:55 +0000)]
Adding genlogon (from 3.0.0).
(This used to be commit b776521ba757f4b4995aff3db87a0da226480a69)

17 years agoAdding genlogon obtained from a a mailing list posting in 2001.
John Terpstra [Thu, 16 Jan 2003 05:54:35 +0000 (05:54 +0000)]
Adding genlogon obtained from a a mailing list posting in 2001.
(This used to be commit f6121fb55b27178f1bcae00a7225e03028f9e7d4)

17 years agoAdded NT4 Profile Modification Docs, updated Win2K version.
John Terpstra [Thu, 16 Jan 2003 05:35:11 +0000 (05:35 +0000)]
Added NT4 Profile Modification Docs, updated Win2K version.
NOTE: These documents are place holders for a REAL document.
(This used to be commit 393c4a37f3a1729ff92c42becfd066c76deefcda)

17 years ago(missed in last commit)
Andrew Bartlett [Thu, 16 Jan 2003 04:40:07 +0000 (04:40 +0000)]
(missed in last commit)

Change the 'cookie' to be the ntlmssp_context, and use the 'auth_context' on
that to store the cookie.  Ensures that simple callbacks can 'just work'.

Also make it clear that we are doing a pull_string into a pstring, not just
any sized buffer.

Andrew Bartlett
(This used to be commit c7793f27188e658b7fc6336aa51d367eab36fc17)

17 years agoallow a couple of LSA functions to take a username instead of a SID,
Andrew Tridgell [Thu, 16 Jan 2003 04:14:59 +0000 (04:14 +0000)]
allow a couple of LSA functions to take a username instead of a SID,
They still accept a SID, it just can be tedious to have to type SIDs
instead of names all the time.
(This used to be commit 665cc9b1aceb454074e9de9c6e8636b39be29493)

17 years agoAdd LIBSMB_OBJ for the new ntlm_auth functionality.
Andrew Bartlett [Thu, 16 Jan 2003 03:32:55 +0000 (03:32 +0000)]
Add LIBSMB_OBJ for the new ntlm_auth functionality.

Andrew Bartlett
(This used to be commit 9128aa3dd2f4bf4a21adac51be1da7c6380d23a0)

17 years agoUpdates to the NTLMSSP code again - moving the base64 decode fuctionality out
Andrew Bartlett [Thu, 16 Jan 2003 03:29:54 +0000 (03:29 +0000)]
Updates to the NTLMSSP code again - moving the base64 decode fuctionality out
of the SWAT code, and adding a base64 encoder.

The main purpose of this patch is to add NTLMSSP support to 'ntlm_auth', for
use with Squid.  Unfortunetly the squid side doesn't quite support what we need
yet.

Changes to winbind to get us the info we need, and a couple of consequential
changes/cleanups in the rest of the code.

Andrew Bartlett
(This used to be commit fe50ca8f54ded2e119bde08831785fbe0db2ee99)

17 years agoMore Heimdal changes. Still not compiling with Heimdal yet...
Jeremy Allison [Thu, 16 Jan 2003 02:58:25 +0000 (02:58 +0000)]
More Heimdal changes. Still not compiling with Heimdal yet...
Jeremy.
(This used to be commit c3544c119e4cafb817479b4c5dfae178c3de000b)

17 years agoMore Heimdal changes. Still not compiling with Heimdal yet...
Jeremy Allison [Thu, 16 Jan 2003 02:58:14 +0000 (02:58 +0000)]
More Heimdal changes. Still not compiling with Heimdal yet...
Jeremy.
(This used to be commit 4333be5732de07786254382a4aa41333783d81b5)

17 years agoFist part of fixes to make us compile with Heimdal. Don't explicitly
Jeremy Allison [Thu, 16 Jan 2003 02:39:58 +0000 (02:39 +0000)]
Fist part of fixes to make us compile with Heimdal. Don't explicitly
detect for now, I still have vague hopes of hiding the differences
between MIT and Heimdal with a compatibility layer....
Jeremy.
(This used to be commit a776fbef3244ae82a17c57a7f62de115fd023c86)

17 years agoFist part of fixes to make us compile with Heimdal. Don't explicitly
Jeremy Allison [Thu, 16 Jan 2003 02:39:49 +0000 (02:39 +0000)]
Fist part of fixes to make us compile with Heimdal. Don't explicitly
detect for now, I still have vague hopes of hiding the differences
between MIT and Heimdal with a compatibility layer....
Jeremy.
(This used to be commit 54d83de8a23937f1d8179a7e2596df3c50785618)

17 years agoregenerate docs
Gerald Carter [Thu, 16 Jan 2003 02:21:51 +0000 (02:21 +0000)]
regenerate docs
(This used to be commit 2215dc37e26bec17eb971e7b54818622a9bb5b97)

17 years ago* merge fixes for SGML syntax errors (does no one ever regenerate the docs?)
Gerald Carter [Thu, 16 Jan 2003 02:20:27 +0000 (02:20 +0000)]
* merge fixes for SGML syntax errors (does no one ever regenerate the docs?)
* regenerate the docs
* add some files from SAMBA_3_0
(This used to be commit 1af74785f334bd84b2d62e7fc2975f9477386acb)