bbaumbach/samba-autobuild/.git
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)

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

21 years agoSync up with 3.0 heimdal.
Jeremy Allison [Thu, 30 Jan 2003 20:36:59 +0000 (20:36 +0000)]
Sync up with 3.0 heimdal.
Jeremy.
(This used to be commit 371f4aca9204f3c093af622ec6c9ea7c5145bf85)

21 years agoRe-added the Heimdal stuff tpot removed.
Jeremy Allison [Thu, 30 Jan 2003 20:36:44 +0000 (20:36 +0000)]
Re-added the Heimdal stuff tpot removed.
Jeremy.
(This used to be commit e79dc0dade1ab1c9f8b3af5c01248bda70cfd582)

21 years agoFix kerberos compile after the tpot massicre :-).
Jeremy Allison [Thu, 30 Jan 2003 20:16:18 +0000 (20:16 +0000)]
Fix kerberos compile after the tpot massicre :-).
Jeremy
(This used to be commit d63849db6d02b1a9430072e6e15a67e1c526e5e7)

21 years agoRevert tpot's HEAD merge which broke the Heimdal build.
Jeremy Allison [Thu, 30 Jan 2003 18:03:34 +0000 (18:03 +0000)]
Revert tpot's HEAD merge which broke the Heimdal build.
Jeremy.
(This used to be commit 1298ecd0b8a3a9e0a2de42d0c049856cad65e272)

21 years agoStop tpot from trampling over my Heimdal fixes by moving some of them
Jeremy Allison [Thu, 30 Jan 2003 18:01:23 +0000 (18:01 +0000)]
Stop tpot from trampling over my Heimdal fixes by moving some of them
to HEAD :-).
Jeremy.
(This used to be commit 1fec0f50ed0e750afec5cdf551fcd37ef4858e94)

21 years agoRevert tpot's breakage of the Heimdal fixes.
Jeremy Allison [Thu, 30 Jan 2003 18:01:03 +0000 (18:01 +0000)]
Revert tpot's breakage of the Heimdal fixes.
Jeremy.
(This used to be commit 90336900ad2a6d50e1d42f7bc59fdc7c762187d3)

21 years agoStraus VOS detection patches from Paul Green
Gerald Carter [Thu, 30 Jan 2003 17:07:28 +0000 (17:07 +0000)]
Straus VOS detection patches from Paul Green
(This used to be commit 29962f99f2972bd780366753abf4615c0e8fbda1)

21 years agoStraus VOS detection patches from Paul Green
Gerald Carter [Thu, 30 Jan 2003 17:04:47 +0000 (17:04 +0000)]
Straus VOS detection patches from Paul Green
(This used to be commit 726181537db6bdd299fd9256a5e6def6b4b8ae33)

21 years agoSync of Heimdal kerberos stuff with HEAD. If this breaks I'm blaming
Tim Potter [Thu, 30 Jan 2003 04:40:12 +0000 (04:40 +0000)]
Sync of Heimdal kerberos stuff with HEAD.  If this breaks I'm blaming
the dog again.
(This used to be commit 6f89ee2c9dc7f03e3dbe7aa734bf67c6a434d135)

21 years agoMerge of controversial 'max log size' fix.
Tim Potter [Thu, 30 Jan 2003 04:38:39 +0000 (04:38 +0000)]
Merge of controversial 'max log size' fix.
(This used to be commit 71e2b60d8f784174cd2a75c5e03bf2a6ab353900)

21 years agoMerge of REQ_DEBUGLEVEL messaging and debug_count fixes from HEAD.
Tim Potter [Thu, 30 Jan 2003 04:37:18 +0000 (04:37 +0000)]
Merge ... REQ_DEBUGLEVEL messaging and debug_count fixes from HEAD.
(This used to be commit abb112ba2ad362036c7b3f340d5f64d6fcc0cd3c)

21 years agoThe REQ_DEBUGLEVEL message returns a string not a list of integers.
Tim Potter [Thu, 30 Jan 2003 04:01:21 +0000 (04:01 +0000)]
The REQ_DEBUGLEVEL message returns a string not a list of integers.
(This used to be commit 08050a93d9c5b2276c4eaf933974607cf11a1876)

21 years agoMove debug level message handling into debug.c from messages.c
Tim Potter [Thu, 30 Jan 2003 04:00:28 +0000 (04:00 +0000)]
Move debug level message handling into debug.c from messages.c

Removed duplicate message_register() for REQ_DEBUGLEVEL message.
(This used to be commit 6fee7196d695ca813a301b1e6d7da687b7e7bda5)

21 years agoFix for interesting resource constraint condition. When all opens are
Jeremy Allison [Thu, 30 Jan 2003 01:42:08 +0000 (01:42 +0000)]
Fix for interesting resource constraint condition. When all opens are
level 2 and a request for open with no oplock is received then the
smbd should send *synchronous* break messages, not asynchronous,
otherwise it spins very rapidly, releasing the lock, sending the
'break to none' messages and then re-acquiring the lock before
any other process has a chance to get the lock and remove it's own
oplock (at least on linux).
Jeremy.
(This used to be commit d1e8991a76a57b7d96dd7db3c1d9bbf5b28da88e)

21 years agoFix for interesting resource constraint condition. When all opens are
Jeremy Allison [Thu, 30 Jan 2003 01:41:46 +0000 (01:41 +0000)]
Fix for interesting resource constraint condition. When all opens are
level 2 and a request for open with no oplock is received then the
smbd should send *synchronous* break messages, not asynchronous,
otherwise it spins very rapidly, releasing the lock, sending the
'break to none' messages and then re-acquiring the lock before
any other process has a chance to get the lock and remove it's own
oplock (at least on linux).
Jeremy
(This used to be commit 33e3e863eb7f35b852384e689f3272784261fc39)

21 years agoAdded "passwd backend" to WIZARD section in SWAT.
John Terpstra [Wed, 29 Jan 2003 23:38:55 +0000 (23:38 +0000)]
Added "passwd backend" to WIZARD section in SWAT.
(This used to be commit 0104e80637fbf1cfa614043577376a073d717e94)

21 years agoMerge tpot's changes to request the correct sizes for user dispinfo
Jeremy Allison [Wed, 29 Jan 2003 20:15:35 +0000 (20:15 +0000)]
Merge tpot's changes to request the correct sizes for user dispinfo
from HEAD. I had to do this for him as he was *so* tired, the poor
chap, plus he has this bad leg, plus the dog ate his homework etc. etc.
Jeremy.
(This used to be commit 1e752b48a12cdcf2cb6343705be83f304e5ee2b6)

21 years agoplaying janitor for abartlet. :-(
Gerald Carter [Wed, 29 Jan 2003 18:47:57 +0000 (18:47 +0000)]
playing janitor for abartlet. :-(

"
Make the vampire code use just pdb calls - allowing better operation on systems
that are not configured with an add user script, and have an _nua backend for
storage.

We really need to get the PDB backends out of the IDMAP game...

Andrew Bartlett
"
(This used to be commit e959a8eb67e78bb90ae017687dca8f8b3b147b09)

21 years agoRemoved duplicate fn to avoid compiler warning. (from HEAD - tpot).
Jeremy Allison [Wed, 29 Jan 2003 17:55:41 +0000 (17:55 +0000)]
Removed duplicate fn to avoid compiler warning. (from HEAD - tpot).
Jeremy.
(This used to be commit 60be9a2f1e6d18562218a55e1a1f753e34fb1e5b)

21 years agoMerge from HEAD - fix to findsmb by Waider
Andrew Bartlett [Wed, 29 Jan 2003 13:14:18 +0000 (13:14 +0000)]
Merge from HEAD - fix to findsmb by Waider
(This used to be commit 28258224ded31e9a0a4304170ce98534ddfa0dfa)

21 years agoFix to findsmb by Waider
Andrew Bartlett [Wed, 29 Jan 2003 13:13:00 +0000 (13:13 +0000)]
Fix to findsmb by Waider
(This used to be commit c32c1bccc27f10e2f44f3e7f3778aae38bba8f25)

21 years agoMake the vampire code use just pdb calls - allowing better operation on systems
Andrew Bartlett [Wed, 29 Jan 2003 12:11:30 +0000 (12:11 +0000)]
Make the vampire code use just pdb calls - allowing better operation on systems
that are not configured with an add user script, and have an _nua backend for
storage.

We really need to get the PDB backends out of the IDMAP game...

Andrew Bartlett
(This used to be commit dceb7820d71ce624de60ce8f729d5d3711b64152)

21 years agoRemove NULL buffer checks before rpcstr_pull() as they're now done
Jeremy Allison [Wed, 29 Jan 2003 06:53:07 +0000 (06:53 +0000)]
Remove NULL buffer checks before rpcstr_pull() as they're now done
inside this function. Merge from HEAD (tpot).
Jeremy.
(This used to be commit e20cb9ca55e060e03d3f517f1d52ce2bc6982310)

21 years agoReturn 0 instead of crashing when a NULL source string is passed
Jeremy Allison [Wed, 29 Jan 2003 06:51:35 +0000 (06:51 +0000)]
Return 0 instead of crashing when a NULL source string is passed
to rpcstr_pull() - merge from HEAD (tpot).
Jeremy.
(This used to be commit e781388c59d694058576529fb43f861c48011091)

21 years agoUse new interface for cli_samr_query_dispinfo().
Tim Potter [Wed, 29 Jan 2003 06:24:13 +0000 (06:24 +0000)]
Use new interface for cli_samr_query_dispinfo().
(This used to be commit d3962da61a5717dda7e99996bbeb4735d4373041)

21 years agoPass down max_size parameter to cli_samr_query_dispinfo() instead of
Tim Potter [Wed, 29 Jan 2003 06:20:08 +0000 (06:20 +0000)]
Pass down max_size parameter to cli_samr_query_dispinfo() instead of
using a hardcoded value later on.

Added a helper function that returns the observed values for
max_entries and max_size for each cli_samr_query_dispinfo() call.
These values were obtained from watching the NT4 user manager
application with ethereal and are the only ones that can enumerate a
60k user domain reliably under Windows 2000.
(This used to be commit 2eea2813d9adc414f0a7ea074826b23697f376ee)

21 years agoPass down max_size parameter to init_samr_q_query_dispinfo() instead
Tim Potter [Wed, 29 Jan 2003 06:13:18 +0000 (06:13 +0000)]
Pass down max_size parameter to init_samr_q_query_dispinfo() instead
of hardcoding it to 0xffff.
(This used to be commit c3b077f763d94ba063b2d4231cd5d411e44933e7)

21 years agoRemoved duplicate fn to avoid compiler warning.
Tim Potter [Wed, 29 Jan 2003 05:16:16 +0000 (05:16 +0000)]
Removed duplicate fn to avoid compiler warning.
(This used to be commit 55d268fdd67e42244128dae8614d0e4aa2eb2da2)

21 years agoRemove NULL buffer checks before rpcstr_pull() as they're now done
Tim Potter [Wed, 29 Jan 2003 02:57:03 +0000 (02:57 +0000)]
Remove NULL buffer checks before rpcstr_pull() as they're now done
inside this function.
(This used to be commit cdc7c599c72119e96a2a3d392458cd6d52bf56a5)

21 years agoReturn 0 instead of crashing when a NULL source string is passed
Tim Potter [Wed, 29 Jan 2003 02:55:39 +0000 (02:55 +0000)]
Return 0 instead of crashing when a NULL source string is passed
to rpcstr_pull()
(This used to be commit b9c4cc119588d6a564f0aaf12fd2ef867a42aeb8)

21 years agoQuieten debug about gencache.tdb not being able to be opened.
Tim Potter [Wed, 29 Jan 2003 02:54:36 +0000 (02:54 +0000)]
Quieten debug about gencache.tdb not being able to be opened.

Perhaps we should try to open O_RDONLY if O_RDWR fails?
(This used to be commit 1e7236371d2b766b161acbb0c950cd3bb4a6ede7)

21 years agoMerge tridge's client priv code from HEAD.
Jeremy Allison [Wed, 29 Jan 2003 02:24:12 +0000 (02:24 +0000)]
Merge tridge's client priv code from HEAD.
Jeremy
(This used to be commit 49739be1e2f047fa2cc2fd42eadb190a82114485)

21 years agoadded LsaRemoveAccountRights
Andrew Tridgell [Tue, 28 Jan 2003 21:31:45 +0000 (21:31 +0000)]
added LsaRemoveAccountRights

this now gives us complete remove privileges control in the client
libs, so we are in good shape for starting on the server side.
(This used to be commit bf99440398db86f46233eb2f5adddffb61280a1b)

21 years agoMerging tridge's privillage client changes from HEAD.
Jeremy Allison [Tue, 28 Jan 2003 21:09:56 +0000 (21:09 +0000)]
Merging tridge's privillage client changes from HEAD.
Jeremy.
(This used to be commit 30a33920b4d834edc877cc0080291fbda983083a)

21 years agopatch from Paul Green to only build libsmbclient.so on platforms that support shared...
Gerald Carter [Tue, 28 Jan 2003 20:55:09 +0000 (20:55 +0000)]
patch from Paul Green to only build libsmbclient.so on platforms that support shared libraries
(This used to be commit f739a7263d9da6edc2ecba5b942253c22f7cb3f8)

21 years agopatch from Paul Green to only build libsmbclient.so on platforms that support shared...
Gerald Carter [Tue, 28 Jan 2003 20:11:20 +0000 (20:11 +0000)]
patch from Paul Green to only build libsmbclient.so on platforms that support shared libraries
(This used to be commit 8ef302f6bf52a0bc7e1062747cb9b69c696958fd)

21 years agoadded missing file for abartlet
Gerald Carter [Tue, 28 Jan 2003 16:15:22 +0000 (16:15 +0000)]
added missing file for abartlet
(This used to be commit 1a0c9155f1d87ded0db72caf4b99fd190ef77544)

21 years agoFirst step towards XML: Use correct syntax
Jelmer Vernooij [Tue, 28 Jan 2003 14:39:01 +0000 (14:39 +0000)]
First step towards XML: Use correct syntax
(This used to be commit 06f641bcb59f932c994e6023d400df18b54c2067)

21 years agoFirst step in converting to XML: use strict syntax
Jelmer Vernooij [Tue, 28 Jan 2003 13:52:38 +0000 (13:52 +0000)]
First step in converting to XML: use strict syntax
(This used to be commit 89f9a0a0c451a627b70c8373431e691ab964c1ef)

21 years agoPut in ab's conversion to XML. First step: Make all the SGML docs
Jelmer Vernooij [Tue, 28 Jan 2003 13:17:06 +0000 (13:17 +0000)]
Put in ab's conversion to XML. First step: Make all the SGML docs
conform to the (more strict) XML syntax.
(This used to be commit d9cf973a466ff684f0867b5d7fd494de6967aa79)