kai/samba.git
21 years agoFixes for HPUX only having limited POSIX lock range from Michael Steffens <michael...
Jeremy Allison [Wed, 12 Feb 2003 20:40:29 +0000 (20:40 +0000)]
Fixes for HPUX only having limited POSIX lock range from Michael Steffens <michael.steffens@hp.com>
Jeremy.
(This used to be commit e9b4fb8b9aedda9afc01af976264298002be3096)

21 years agoadding more descriptions for nt status codes
Gerald Carter [Wed, 12 Feb 2003 16:44:13 +0000 (16:44 +0000)]
adding more descriptions for nt status codes
(This used to be commit 2fa33fcaee288f0607db9fc72d2f1cafdd6c5959)

21 years agomerge desired_access for open_printer_ex from HEAD, allowing cupsaddsmb to
Andrew Bartlett [Wed, 12 Feb 2003 11:23:24 +0000 (11:23 +0000)]
merge desired_access for open_printer_ex from HEAD, allowing cupsaddsmb to
work again!

Andrew Bartlett
(This used to be commit 94976a4128ea93606e2719fd06019a1e7eddf61c)

21 years agoMerge from HEAD: Fix NULL pointer de-reference in arguments to tdb_pack.
Andrew Bartlett [Wed, 12 Feb 2003 10:57:39 +0000 (10:57 +0000)]
Merge from HEAD: Fix NULL pointer de-reference in arguments to tdb_pack.

Andrew Bartlet
(This used to be commit 0809670d0f85405c1e58d7317cc7a6ca67c8ad16)

21 years agoMerge of smbcontrol debuglevel fixes from HEAD.
Tim Potter [Wed, 12 Feb 2003 01:22:33 +0000 (01:22 +0000)]
Merge of smbcontrol debuglevel fixes from HEAD.
(This used to be commit 77ae3360e36e460f9a0f3f3e198951e575a247cf)

21 years agoMerge of nicer error message for gencache open error from HEAD.
Tim Potter [Wed, 12 Feb 2003 01:20:56 +0000 (01:20 +0000)]
Merge ... nicer error message for gencache open error from HEAD.
(This used to be commit 23ca54000514d400c81950edb556ef4308a88253)

21 years agoSync with HEAD version.
Tim Potter [Wed, 12 Feb 2003 01:19:34 +0000 (01:19 +0000)]
Sync with HEAD version.
(This used to be commit 3a912bee74ab8c3e66e9cb0f60e0964411763d8d)

21 years agoCorrectly return access denied on share mode deny when we can't open the
Jeremy Allison [Wed, 12 Feb 2003 01:13:35 +0000 (01:13 +0000)]
Correctly return access denied on share mode deny when we can't open the
file. This is a regression that was damaged by other code.
Jeremy.
(This used to be commit 7844a53df72af8fd2f70d51b784352aeb1298ed2)

21 years agoMerge from HEAD - pull_ucs2_talloc() should pull to a char**, not a void**
Jeremy Allison [Wed, 12 Feb 2003 01:09:35 +0000 (01:09 +0000)]
Merge from HEAD - pull_ucs2_talloc() should pull to a char**, not a void**
Jeremy.
(This used to be commit 81437e2ad034e9b83ae954c17a7a261504c55101)

21 years agoMerge from HEAD...setup the %U substitution in winbindd for the homedir template
Jeremy Allison [Wed, 12 Feb 2003 01:08:40 +0000 (01:08 +0000)]
Merge from HEAD...setup the %U substitution in winbindd for the homedir template
Jeremy.
(This used to be commit efc4b738aef08604947dcc1ab5c6383e9ee6d783)

21 years agoMerging from HEAD - add a note about a better method for finding netbios name of...
Jeremy Allison [Wed, 12 Feb 2003 01:07:48 +0000 (01:07 +0000)]
Merging from HEAD - add a note about a better method for finding netbios name of workgroup
(not implemented yet)
Jeremy.
(This used to be commit c0eab99753032f5f49bc7adeb1ff95eceb6fe0fe)

21 years agoEnsure we are not forgetting our janitorial duties...
Jeremy Allison [Wed, 12 Feb 2003 01:06:52 +0000 (01:06 +0000)]
Ensure we are not forgetting our janitorial duties...
Jeremy.
(This used to be commit 7812370cabd4a8809eed1eb4968d552bcb0df2f5)

21 years agoMerge from HEAD: Patch by Anthony Liguori <aliguor@us.ibm.com> to replace scandir...
Andrew Bartlett [Tue, 11 Feb 2003 21:56:38 +0000 (21:56 +0000)]
Merge from HEAD: Patch by Anthony Liguori <aliguor@us.ibm.com> to replace scandir() with portable readdir() calls.

Andrew Bartlett
(This used to be commit b9ca0b9ef39442726afd580dc38b6dafce542335)

21 years agoFix delete on close semantics to match W2K. I (think:-) I understand it now :-).
Jeremy Allison [Tue, 11 Feb 2003 02:24:51 +0000 (02:24 +0000)]
Fix delete on close semantics to match W2K. I (think:-) I understand it now :-).
Thanks to Nir Livni <nirl@cyber-ark.com> for giving me the test case to
track it down.
Jeremy.
(This used to be commit 41894489e82a474f4f8f66aa2c7a117ed05b33e1)

21 years agoFix the msdfs proxy handling code in dfsenum to return the cumulative number of
Shirish Kalele [Tue, 11 Feb 2003 01:45:48 +0000 (01:45 +0000)]
Fix the msdfs proxy handling code in dfsenum to return the cumulative number of
dfs links encountered. Previously the number was being mistakenly reset to 1.
Thanks to Guenther Deschner <gd@suse.de> for pointing this out and a fix.
[Check into SAMBA_3_0]
(This used to be commit 041a1dd543ae5c197e17aae0b35a41060efc35f0)

21 years agoautogen - cope with autoconf-2.53/2.13 systems (like RH 7.3)
Gerald Carter [Mon, 10 Feb 2003 17:31:25 +0000 (17:31 +0000)]
autogen - cope with autoconf-2.53/2.13 systems (like RH 7.3)
findsmb - use @PERL@
(This used to be commit f869db787b555dc99e30d82493666c8a388f8f81)

21 years agoCleanups: (merge from HEAD)
Andrew Bartlett [Mon, 10 Feb 2003 11:47:21 +0000 (11:47 +0000)]
Cleanups:  (merge from HEAD)

 - use safe_strcpy() instead of pstrcpy() for malloc()ed strings

 - CUPS: a failure in an attempt to automaticly add a printer is not level 0 stuff.

 - Fix up a possible Realloc() failure segfault

Andrew Bartlett
(This used to be commit c1cfc296c2efdb2b5972202146e80f0e3b6a3da4)

21 years agoEnsure we return NOSPACE if we can't fast allocate a print job.
Jeremy Allison [Sat, 8 Feb 2003 01:04:43 +0000 (01:04 +0000)]
Ensure we return NOSPACE if we can't fast allocate a print job.
Jeremy.
(This used to be commit 82cf8aa74794649fb16c336011ca48d549d6abb8)

21 years agomerge from HEAD - x_fileno, not fileno on an XFILE
Andrew Bartlett [Sat, 8 Feb 2003 01:01:49 +0000 (01:01 +0000)]
merge from HEAD - x_fileno, not fileno on an XFILE
(This used to be commit e3468d8edc77c4d3dffc81770f4bc991e5a5fe52)

21 years agoMerge from HEAD - don't mix FILE and X_FILE - fixes debian bug
Andrew Bartlett [Sat, 8 Feb 2003 00:08:23 +0000 (00:08 +0000)]
Merge from HEAD - don't mix FILE and X_FILE - fixes debian bug
http://bugs.debian.org/178219 where the first 4096 bytes where being chewed
into the FILE buffer, and never available to X_FILE's read.

Andrew Bartlett
(This used to be commit 8af72c13841ee51bca4f061a91c05e8fd366f586)

21 years agoSamba janitors: applying mbp's redundant umask fix.
Jeremy Allison [Fri, 7 Feb 2003 22:52:19 +0000 (22:52 +0000)]
Samba janitors: applying mbp's redundant umask fix.
Jeremy.
(This used to be commit b54f6bf06c6a4032ba0d6c2a25699948685ccf6a)

21 years agoSamba janitor: adding mbp's umask patch :-).
Jeremy Allison [Fri, 7 Feb 2003 21:59:51 +0000 (21:59 +0000)]
Samba janitor: adding mbp's umask patch :-).
Jeremy.
(This used to be commit d4d8d27bf136bdbc785c7aad027537aabaa56a76)

21 years agocheck pointer before dereferencing it
Gerald Carter [Fri, 7 Feb 2003 16:20:42 +0000 (16:20 +0000)]
check pointer before dereferencing it
(This used to be commit 8712bd1f8eb5321278e7c57bfdc7bdddbdaf1424)

21 years agoInvert flag testing
Volker Lendecke [Fri, 7 Feb 2003 08:03:37 +0000 (08:03 +0000)]
Invert flag testing
(This used to be commit 05397c526d2fad63faee781cc68934c58ee97500)

21 years agoAdded my name to copyright.
John Terpstra [Fri, 7 Feb 2003 05:01:06 +0000 (05:01 +0000)]
Added my name to copyright.
(This used to be commit 143df82aeb3c590e603bb006d01ee50b91602204)

21 years agoAdded extended audit module.
John Terpstra [Fri, 7 Feb 2003 04:56:37 +0000 (04:56 +0000)]
Added extended audit module.
(This used to be commit f158bfa233585079139fbb5b5bf6878010746659)

21 years agoAdded audit module that logs info to smbd log file as well as syslog.
John Terpstra [Fri, 7 Feb 2003 04:53:15 +0000 (04:53 +0000)]
Added audit module that logs info to smbd log file as well as syslog.
(This used to be commit 0ce5f23bdb6796260303b4884b3f62f4329ee6c8)

21 years agomerge from head
Andrew Tridgell [Fri, 7 Feb 2003 04:11:36 +0000 (04:11 +0000)]
merge from head
(This used to be commit fd3216dbcbaec7d64dd24fe2af6c4156935c47e9)

21 years agomerge from HEAD
Volker Lendecke [Thu, 6 Feb 2003 17:10:38 +0000 (17:10 +0000)]
merge from HEAD
(This used to be commit 4ef6de20cb62fc2b22c288b4452c09eaf007ae5e)

21 years ago.cvsignore for configure and config.h.in
Andrew Bartlett [Thu, 6 Feb 2003 10:40:51 +0000 (10:40 +0000)]
.cvsignore for configure and config.h.in
(This used to be commit 7d48ad967cc767dba3301f81c1488f53107efa34)

21 years ago(merge from HEAD)
Andrew Bartlett [Thu, 6 Feb 2003 09:22:22 +0000 (09:22 +0000)]
(merge from HEAD)

Move configure and include/config.h.in out of CVS.

Andrew Bartlett
(This used to be commit 482465bbaf4088c06caeaab5b9fe42f11a7e2470)

21 years agoCollapse duplicate messages before sending.
Jeremy Allison [Wed, 5 Feb 2003 23:03:58 +0000 (23:03 +0000)]
Collapse duplicate messages before sending.
Jeremy.
(This used to be commit 105d37474d0be9eea2ea38dc90ceba5a27a7e630)

21 years agoFixed type.
Jeremy Allison [Wed, 5 Feb 2003 22:09:06 +0000 (22:09 +0000)]
Fixed type.
Jeremy.
(This used to be commit 76c3ccf6ed258b43d7cf1222524d8e5d2bdc8c82)

21 years agoCheck for too many processes *before* the fork.
Jeremy Allison [Wed, 5 Feb 2003 21:16:55 +0000 (21:16 +0000)]
Check for too many processes *before* the fork.
Jeremy.
(This used to be commit be54b1b831b0bd6c428558131ea600c46433c090)

21 years agoCUPS patch to log client name
Gerald Carter [Wed, 5 Feb 2003 06:37:27 +0000 (06:37 +0000)]
CUPS patch to log client name
(This used to be commit d4168c327bc42efc392561aeeef4edd702b3d653)

21 years agoHold the lock for a much shorter time when allocating a new jobid.
Jeremy Allison [Tue, 4 Feb 2003 23:52:49 +0000 (23:52 +0000)]
Hold the lock for a much shorter time when allocating a new jobid.
Jeremy.
(This used to be commit 62e274abbb0ceec90c97c022fa14d96bdf574121)

21 years agoMem alloc checks.
Jeremy Allison [Tue, 4 Feb 2003 23:44:28 +0000 (23:44 +0000)]
Mem alloc checks.
Jeremy.
(This used to be commit 46ea028169426fbcad92d3d5bf786e88be8f5112)

21 years agoUp the hash table size for printing tdb.c
Jeremy Allison [Tue, 4 Feb 2003 23:43:03 +0000 (23:43 +0000)]
Up the hash table size for printing tdb.c
Jeremy.
(This used to be commit 97848f40eec7320c8a06eb0a7df7c1677e41efd8)

21 years agoEnsure we overwrite a tdb if the hash size changes.
Jeremy Allison [Tue, 4 Feb 2003 23:40:43 +0000 (23:40 +0000)]
Ensure we overwrite a tdb if the hash size changes.
Jeremy.
(This used to be commit b300696cb5c65ab239caa257987628f8e18c8761)

21 years agoTry to allow old and new heimdal installs
Jim McDonough [Tue, 4 Feb 2003 16:33:24 +0000 (16:33 +0000)]
Try to allow old and new heimdal installs
(This used to be commit 6d593ca174282e7a8098813e9423c1ca5f86f0b1)

21 years agoMerge autogen.sh from HEAD - to allow removal of configure.
Andrew Bartlett [Tue, 4 Feb 2003 10:55:35 +0000 (10:55 +0000)]
Merge autogen.sh from HEAD - to allow removal of configure.
(This used to be commit a5d15ebe3c8e54640925e12090c89629a45eb74c)

21 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Tue, 4 Feb 2003 10:54:02 +0000 (10:54 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 0dfbda00484bc3ca458fd5f637b69742bb75dbdb)

21 years agoAdd autogen.sh from distcc via mbp.
Andrew Bartlett [Tue, 4 Feb 2003 10:54:01 +0000 (10:54 +0000)]
Add autogen.sh from distcc via mbp.

This to allow us to remove configure from CVS.
(This used to be commit 9e8e352e102b75489b4540d701ce2c67c0f3cf31)

21 years agoMerge HEAD: check both the account and password...
Andrew Bartlett [Tue, 4 Feb 2003 10:08:45 +0000 (10:08 +0000)]
Merge HEAD: check both the account and password...

Andrew Bartlett
(This used to be commit 830de56bf2f47412acfebf6c6353ab4b98c8517e)

21 years agoActually checking both the account and password tests would be a good idea...
Andrew Bartlett [Tue, 4 Feb 2003 10:02:43 +0000 (10:02 +0000)]
Actually checking both the account and password tests would be a good idea...

Andrew Bartlett
(This used to be commit 49640635b15f53be6bb28d3d79255abe10c207dd)

21 years agoMerge from HEAD: avoid braindead #define on Tru64.
Andrew Bartlett [Tue, 4 Feb 2003 08:27:02 +0000 (08:27 +0000)]
Merge from HEAD: avoid braindead #define on Tru64.
(This used to be commit 299233fbf2328d08546b3b03dceca67083b68493)

21 years agoPatch from Edmund Lam <epl@unimelb.edu.au> to fix braindead Tru64 behaviour:
Andrew Bartlett [Tue, 4 Feb 2003 08:26:04 +0000 (08:26 +0000)]
Patch from Edmund Lam <epl@unimelb.edu.au> to fix braindead Tru64 behaviour:

Apparently acl_type is #defined to acl_common.entry_type in their acl.h....

Andrew Bartlett
(This used to be commit 3dfdaa0208ee538631378aa921300d95c596b70c)

21 years agoEnsure we only ever set fsp->conn in one place.
Jeremy Allison [Tue, 4 Feb 2003 01:43:11 +0000 (01:43 +0000)]
Ensure we only ever set fsp->conn in one place.
Jeremy.
(This used to be commit 2110901b381f2a749605c8e8b262fa5ceba11169)

21 years agoEnsure we only ever set fsp->conn in one place.
Jeremy Allison [Tue, 4 Feb 2003 01:43:10 +0000 (01:43 +0000)]
Ensure we only ever set fsp->conn in one place.
Jeremy.
(This used to be commit d8a42753cc1e1a94aa6b816222343e1569521f14)

21 years agoTry to allow old and new heimdal installs
Jim McDonough [Tue, 4 Feb 2003 01:39:06 +0000 (01:39 +0000)]
Try to allow old and new heimdal installs
(This used to be commit 29d25382ac394707da372d4af2b828bfcd0d6874)

21 years agoEnsure Samba passes the open attribute truncate tests in smbtorture.
Jeremy Allison [Tue, 4 Feb 2003 01:11:56 +0000 (01:11 +0000)]
Ensure Samba passes the open attribute truncate tests in smbtorture.
Jeremy.
(This used to be commit b3df40bc803e7dc3b66a95eccb335e2b1775560e)

21 years agoEnsure Samba passes the open attribute truncate tests in smbtorture.
Jeremy Allison [Tue, 4 Feb 2003 01:11:33 +0000 (01:11 +0000)]
Ensure Samba passes the open attribute truncate tests in smbtorture.
Jeremy.
(This used to be commit 651db9f242bb649f5efa4f4e59fe1ac0afe82981)

21 years agofix packaging
Herb Lewis [Tue, 4 Feb 2003 00:19:10 +0000 (00:19 +0000)]
fix packaging
(This used to be commit 591e4ac108116fee1ad0a8bf7cb8498ee76a953d)

21 years agofix packaging
Herb Lewis [Tue, 4 Feb 2003 00:14:18 +0000 (00:14 +0000)]
fix packaging
(This used to be commit 4aa52ffe4dcdbfbe93598f4f598d6fba656ab6a5)

21 years agoGot complete (I hope) coverage of the OPEN TRUNCATE ATTRIBUTES test.
Jeremy Allison [Mon, 3 Feb 2003 23:17:24 +0000 (23:17 +0000)]
Got complete (I hope) coverage of the OPEN TRUNCATE ATTRIBUTES test.
Now to make Samba pass it :-).
Jeremy.
(This used to be commit 510cd30a6ec72544d24b79c13fc8a7d1c9415757)

21 years agofix another syntax error
Herb Lewis [Mon, 3 Feb 2003 22:07:14 +0000 (22:07 +0000)]
fix another syntax error
(This used to be commit 678c07f11d33505e15d995b6c086aa2d8b6d7794)

21 years agoif @EXTRA_ALL_TARGETS@ is empty, this fixes makefile syntax error
Herb Lewis [Mon, 3 Feb 2003 21:58:58 +0000 (21:58 +0000)]
if @EXTRA_ALL_TARGETS@ is empty, this fixes makefile syntax error
(This used to be commit aef873826f91d4d381df7a510d62b61ff2615847)

21 years agoGrrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.
Jeremy Allison [Mon, 3 Feb 2003 20:38:01 +0000 (20:38 +0000)]
Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.
Jeremy.
(This used to be commit e96978954b830d83880f03b6825bce6e7b53b5d7)

21 years agoGrrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.
Jeremy Allison [Mon, 3 Feb 2003 20:37:16 +0000 (20:37 +0000)]
Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.
Jeremy.
(This used to be commit 77737b498d0c1c3efb23891465623f44c03d1801)

21 years agoreran autoconf-2.53
Gerald Carter [Mon, 3 Feb 2003 19:29:15 +0000 (19:29 +0000)]
reran autoconf-2.53
(This used to be commit 60955d1b81b2b2af4df455ed68721339aaf05a00)

21 years agoTry to get build working on systems with krb runtime but not devel libs.
Jim McDonough [Mon, 3 Feb 2003 18:20:54 +0000 (18:20 +0000)]
Try to get build working on systems with krb runtime but not devel libs.
Let's not assume that because one dir exists the whole shebang is there...
(This used to be commit de8ffcad47a4e495615e0ad211316291075f3f6c)

21 years agoTry to get build working on systems with krb runtime but not devel libs.
Jim McDonough [Mon, 3 Feb 2003 18:10:27 +0000 (18:10 +0000)]
Try to get build working on systems with krb runtime but not devel libs.
Let's not assume that because one dir exists the whole shebang is there...
(This used to be commit 44fd5c827537bd14c2220f62f5e44190247ae556)

21 years agosmb signing compile fix
Tim Potter [Sun, 2 Feb 2003 22:49:28 +0000 (22:49 +0000)]
smb signing compile fix
(This used to be commit 22d7aa0e673baa1c26205d1c659ba71ad2f94609)

21 years agountest fix for wide links parameter bug.
Simo Sorce [Sun, 2 Feb 2003 18:08:43 +0000 (18:08 +0000)]
untest fix for wide links parameter bug.
it work properly on 2.2 and the patch apply so I think it should be ok.
(This used to be commit 36b2f6c9320fe46a1b5d2c4e90117b7839c35f21)

21 years agountest fix from HEAD/2.2 for wide links parameter bug.
Simo Sorce [Sun, 2 Feb 2003 18:08:37 +0000 (18:08 +0000)]
untest fix from HEAD/2.2 for wide links parameter bug.
it work properly on 2.2 and the patch apply so I think it should be ok.
(This used to be commit 8498503f1d59636959fe9f97601c55d82a776199)

21 years agoAdd some return values, and don't attempt signing for NTLMSSP yet (it uses a
Andrew Bartlett [Sun, 2 Feb 2003 11:11:24 +0000 (11:11 +0000)]
Add some return values, and don't attempt signing for NTLMSSP yet (it uses a
different algorithm).

Andrew Bartlett
(This used to be commit e6f87c7ee5c61f03f81159a8017d31f439c4454a)

21 years agoMerge from HEAD: Send the session key to the client, allowing it to perform SMB
Andrew Bartlett [Sun, 2 Feb 2003 05:22:37 +0000 (05:22 +0000)]
Merge from HEAD: Send the session key to the client, allowing it to perform SMB
signing.

Andrew Bartlett
(This used to be commit 9bcdb869e53ee8048dd69053b804bdaf55db7b91)

21 years agoSend the user's session key in the SAMLOGON reply, so that a member server can
Andrew Bartlett [Sun, 2 Feb 2003 05:10:26 +0000 (05:10 +0000)]
Send the user's session key in the SAMLOGON reply, so that a member server can
use smb signing.

Andrew Bartlett
(This used to be commit 574e8a8ab7c94ecd9113df42e395e83632980675)

21 years agoMore signing updates - start checking that the server isn't being spoofed.
Andrew Bartlett [Sun, 2 Feb 2003 00:11:12 +0000 (00:11 +0000)]
More signing updates - start checking that the server isn't being spoofed.

Andrew Bartlett
(This used to be commit b1c722e306533babeffeba9d8c7dcfa00e019423)

21 years agoRemove textfile from CVS - it's available in SGML now
Jelmer Vernooij [Sat, 1 Feb 2003 19:32:42 +0000 (19:32 +0000)]
Remove textfile from CVS - it's available in SGML now
(This used to be commit 50a49e0babc67ca20435577d7336ec36e7487b67)

21 years agoConvert Anthony's RPC doc to SGML/XML
Jelmer Vernooij [Sat, 1 Feb 2003 19:30:03 +0000 (19:30 +0000)]
Convert Anthony's RPC doc to SGML/XML
(This used to be commit 5a6f79b4a0d72371957b6bbb9dcfeaeb8779af70)

21 years agoFirst attempt to convert John's GroupProfiles stuff to SGML/XML
Jelmer Vernooij [Sat, 1 Feb 2003 19:25:09 +0000 (19:25 +0000)]
First attempt to convert John's GroupProfiles stuff to SGML/XML
(This used to be commit 02aafdaa5a786f8e0c11114437e50164b126d032)

21 years agoFirst attempt to migrate the GroupProfiles stuff by John to SGML/XML
Jelmer Vernooij [Sat, 1 Feb 2003 19:22:26 +0000 (19:22 +0000)]
First attempt to migrate the GroupProfiles stuff by John to SGML/XML
(This used to be commit b174fb761e48d0ee366b04698b076278be2b82c2)

21 years agoWe now have client-side SMB signing support!
Andrew Bartlett [Sat, 1 Feb 2003 13:01:31 +0000 (13:01 +0000)]
We now have client-side SMB signing support!

This checking allows us to connect to Microsoft servers the use SMB signing,
within a few restrictions:

 - I've not get the NTLMSSP stuff going - it appears to work, but if you break
the sig - say by writing a zero in it - it still passes...
 - We don't currently verfiy the server's reply
 - It works against one of my test servers, but not the other...

However, it provides an excellent basis to work from.  Enable it with 'client
signing' in your smb.conf.

Doc to come (tomorrow) and this is not for 3.0, till we get it complete.

The CIFS Spec is misleading - the session key (for NTLMv1 at least) is the
standard session key, ie MD4(NT#).

Thanks to jra for the early work on this.

Andrew Bartlett
(This used to be commit 1a2738937e3d80b378bd0ed33cd8d395fba2d3c3)

21 years agoMerge from HEAD: netbsd supports dynamic libs
Jelmer Vernooij [Sat, 1 Feb 2003 12:18:37 +0000 (12:18 +0000)]
Merge from HEAD: netbsd supports dynamic libs
(This used to be commit f91d4c8fd3820da751b13babc6b8f98a610fcc6e)

21 years agoNetBSD also supports dynamic libs
Jelmer Vernooij [Sat, 1 Feb 2003 11:00:39 +0000 (11:00 +0000)]
NetBSD also supports dynamic libs
(This used to be commit dbb29495e7cd94b4ad07efd656d021d9551f5eb6)

21 years agoMerge LDAP filter parinoia from HEAD, a few other pdb_ldap updates and some
Andrew Bartlett [Sat, 1 Feb 2003 07:59:29 +0000 (07:59 +0000)]
Merge LDAP filter parinoia from HEAD, a few other pdb_ldap updates and some
misc libads fixes.

Andrew Bartlett
(This used to be commit 9c3a1710efba9fa4160004a554687d4b85927bb1)

21 years agoMerge from HEAD - convert username/password to unix before checking them in
Andrew Bartlett [Sat, 1 Feb 2003 07:27:01 +0000 (07:27 +0000)]
Merge from HEAD - convert username/password to unix before checking them in
SWAT.
(This used to be commit 8485c51bc47f45a6263bda83a0bc3ba15abcd250)

21 years agoMerge of signed/unsigned fixes from HEAD.
Andrew Bartlett [Sat, 1 Feb 2003 07:25:53 +0000 (07:25 +0000)]
Merge of signed/unsigned fixes from HEAD.
(This used to be commit e9f56a157bd472914eebf64fde586104d8274717)

21 years agoBitmap offsets and counts are always positive.
Andrew Bartlett [Sat, 1 Feb 2003 06:30:12 +0000 (06:30 +0000)]
Bitmap offsets and counts are always positive.
(This used to be commit 8f495e8634a1777c4b03d3ec07c76f905ff2fb98)

21 years agoMakefile.in change for ldap escaping fixes
Andrew Bartlett [Sat, 1 Feb 2003 06:26:16 +0000 (06:26 +0000)]
Makefile.in change for ldap escaping fixes
(This used to be commit 9f3525967d3a55a0156544733a1e83711bf4be78)

21 years agoOne more signed/unsigned fix
Andrew Bartlett [Sat, 1 Feb 2003 06:25:08 +0000 (06:25 +0000)]
One more signed/unsigned fix
(This used to be commit 013fa874733566169ecefb25458d26065190f302)

21 years agoNon-error connection numbers are always positive
Andrew Bartlett [Sat, 1 Feb 2003 06:24:07 +0000 (06:24 +0000)]
Non-error connection numbers are always positive
(This used to be commit 69e94440cd89a19bbcebc49d87836153b452da47)

21 years agoPrompted by RedHat bugzilla bug #77999, convert the user's username and
Andrew Bartlett [Sat, 1 Feb 2003 06:17:32 +0000 (06:17 +0000)]
Prompted by RedHat bugzilla bug #77999, convert the user's username and
password from 'display' to 'unix' before we check them.

Andrew Bartlett
(This used to be commit 98a4ebf55cfce9da2c187d89a4f9c7b34e5f999e)

21 years agoMore ldap parinoia - if we ever get more than one result, bail. The order we
Andrew Bartlett [Sat, 1 Feb 2003 06:13:33 +0000 (06:13 +0000)]
More ldap parinoia - if we ever get more than one result, bail.  The order we
get them in should be indeterminate, so just picking the first one would be
bad...

Andrew Bartlett
(This used to be commit 21da8c3bb39c507eb90865549c3bb3538dcea138)

21 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Sat, 1 Feb 2003 05:20:12 +0000 (05:20 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit ed336acc6eef4736bd924e8402cc463944e9327c)

21 years agoAlways escape ldap filter strings. Escaping code was from pam_ldap, but I'm to
Andrew Bartlett [Sat, 1 Feb 2003 05:20:11 +0000 (05:20 +0000)]
Always escape ldap filter strings.  Escaping code was from pam_ldap, but I'm to
blame for the realloc() stuff.

Plus a couple of minor updates to libads.

Andrew Bartlett
(This used to be commit 34b2e558a4b3cfd753339bb228a9799e27ed8170)

21 years agoMore doco updates, in particular the fact that you must configure the smb.conf
Andrew Bartlett [Sat, 1 Feb 2003 05:16:00 +0000 (05:16 +0000)]
More doco updates, in particular the fact that you must configure the smb.conf
*before* you join, otherwise we don't have all the info that 'net join' needs.

Also move from smbpasswd -j to 'net join' in the examples.

Andrew Bartlett
(This used to be commit 9494c1e153a2a515841fb57506b7b9bff3eee7a6)

21 years agoClarify that 'use spnego = yes' is fine in all known situations.
Andrew Bartlett [Sat, 1 Feb 2003 04:44:23 +0000 (04:44 +0000)]
Clarify that 'use spnego = yes' is fine in all known situations.

Andrew Bartlett
(This used to be commit 0944c69636eb60bc1a4b2a2257dd05f6d385bd4d)

21 years agoMake it clear that the magic value is (size_t)-1.
Andrew Bartlett [Sat, 1 Feb 2003 04:40:00 +0000 (04:40 +0000)]
Make it clear that the magic value is (size_t)-1.

Andrew Bartlett
(This used to be commit 0676b4e35f2ab5b58c44df9fe2eef112425d6013)

21 years agoA couple more signed/unsigned issues.
Andrew Bartlett [Sat, 1 Feb 2003 04:39:15 +0000 (04:39 +0000)]
A couple more signed/unsigned issues.
(This used to be commit 01d78b828b89f04b70b53ded01a7f4b356979317)

21 years agoMinor doco updates - with a slightly bigger change to the
Andrew Bartlett [Sat, 1 Feb 2003 04:34:40 +0000 (04:34 +0000)]
Minor doco updates - with a slightly bigger change to the
'security=server/domain' text, to try and explain the difference better, and
why you should always use the latter.

Also update the BDC-HOWTO to have some relation to current reality.

Andrew Bartlett
(This used to be commit 7fd0c9bd74a8513a0cbf67bb516c6c2642380c7f)

21 years agoClarifications for the ADS docs.
Andrew Bartlett [Sat, 1 Feb 2003 03:28:35 +0000 (03:28 +0000)]
Clarifications for the ADS docs.
(This used to be commit 9931f50b396d7e7188de583e5732781e8bea587d)

21 years agoClear up the winbind doco on ADS support, and specify 'net join' not 'net rpc
Andrew Bartlett [Sat, 1 Feb 2003 03:26:53 +0000 (03:26 +0000)]
Clear up the winbind doco on ADS support, and specify 'net join' not 'net rpc
join' as people are using the 'wrong' one and wondering why it doesn't quite
work.

Andrew Bartlett
(This used to be commit dfe565e6ce7ae724a95ba9f162ab51436cf4b63e)

21 years agoAdded first part of attribute matrix tests. Not run and compiled in right now...
Jeremy Allison [Fri, 31 Jan 2003 20:01:32 +0000 (20:01 +0000)]
Added first part of attribute matrix tests. Not run and compiled in right now...
Jeremy.
(This used to be commit fdc14aa6f67b95350796cd1075a3910e3e5d84b6)

21 years agoEnsure Luke Howard's (C) is added.
Jeremy Allison [Fri, 31 Jan 2003 18:34:12 +0000 (18:34 +0000)]
Ensure Luke Howard's (C) is added.
Jeremy.
(This used to be commit 6624fa59d749b0c0d6aacc35b9b6ba2b567d6eb4)

21 years agoEnsure Luke Howard's (C) is added.
Jeremy Allison [Fri, 31 Jan 2003 18:33:35 +0000 (18:33 +0000)]
Ensure Luke Howard's (C) is added.
Jeremy.
(This used to be commit 4af9e8052186f0d2e5ef10879990ec92dc7c5feb)

21 years agoAdd 3 second timeout when terminating server and sending print notify
Jeremy Allison [Thu, 30 Jan 2003 23:55:58 +0000 (23:55 +0000)]
Add 3 second timeout when terminating server and sending print notify
messages. Stops build-up of large numbers of smbd's waiting to terminate
on large print throughput.
Jeremy.
(This used to be commit 07efebb98473cb3d4adc6b2e0afef3f06dcc99b8)

21 years agoAdd 3 second timeout when terminating server and sending print notify
Jeremy Allison [Thu, 30 Jan 2003 23:55:13 +0000 (23:55 +0000)]
Add 3 second timeout when terminating server and sending print notify
messages. Stops build-up of large numbers of smbd's waiting to terminate
on large print throughput.
Jeremy.
(This used to be commit 4ae130bfa82be60de6a6f357f65207fcb24f45fb)

21 years agoMore scalable print tdb fixes.
Jeremy Allison [Thu, 30 Jan 2003 23:27:16 +0000 (23:27 +0000)]
More scalable print tdb fixes.
Jeremy.
(This used to be commit fa8647eb208a971063039c24da849021c5e25267)