jra/samba/.git
15 years agoCollecting some minor patches...
Volker Lendecke [Fri, 26 Dec 2003 19:38:36 +0000 (19:38 +0000)]
Collecting some minor patches...

This adds the ability to specify the new user password for 'net ads password'
on the command line. As this needs the admin password on the command line, the
information leak is minimally more.

Patch from gd@suse.de

Volker
(This used to be commit e6b4b956f68bfea69b2de3608b4c829250d24a7a)

15 years agoCheck the return value of string_to_sid in a few more places. (But
Andrew Bartlett [Fri, 26 Dec 2003 03:14:31 +0000 (03:14 +0000)]
Check the return value of string_to_sid in a few more places.  (But
string_to_sid also needs to be less permissive on what it thinks are
valid sids...)

Andrew Bartlett
(This used to be commit 9080c30de8aa96ed3b9b121ca111f1632572754e)

15 years agoShow the error message for failure to set the ldap password.
Andrew Bartlett [Fri, 26 Dec 2003 00:43:48 +0000 (00:43 +0000)]
Show the error message for failure to set the ldap password.
(For 'ldap password sync = yes')

Andrew Bartlett
(This used to be commit 5b682aef678cc9ee135852d7ee6b8c159902fab7)

15 years agoBased on patch by Petri Asikainen <paca@sci.fi> fix bug #387 and #330.
Andrew Bartlett [Fri, 26 Dec 2003 00:38:12 +0000 (00:38 +0000)]
Based on patch by Petri Asikainen <paca@sci.fi> fix bug #387 and #330.

This patch will change order how attributes are modified
from: add, delete
to:   delete, add

This is needed to update single valued attributes in Novell NDS and
should not harm anyone else.
(This used to be commit fabf80169079483a1378aa0177d8d8335bd98bb3)

15 years agoldap rebind sleep -> ldap replication sleep
Andrew Bartlett [Thu, 25 Dec 2003 23:11:07 +0000 (23:11 +0000)]
ldap rebind sleep -> ldap replication sleep

While writing documentation for metze's patch, it became clear that this is a
better name.

Andrew Bartlett
(This used to be commit 6f828ff3d3622c56ee732b976e7ab90b7897a8d3)

15 years agoThis is metze's LDAP rebind sleep patch:
Volker Lendecke [Thu, 25 Dec 2003 22:42:15 +0000 (22:42 +0000)]
This is metze's LDAP rebind sleep patch:

When smb.conf tells us to write to a read-only LDAP replica and we are
redirected by the LDAP server, the replication might take some seconds,
especially over slow links. This patch delays the next read after a rebind for
'ldap rebind sleep' milliseconds.

Metze, thanks for your patience.

Volker
(This used to be commit 63ffa770b67d700f138d19b4982da152f57674fc)

15 years agoFix our parsing of the LDAP url. We get around it as all decent systems seem
Volker Lendecke [Thu, 25 Dec 2003 22:29:38 +0000 (22:29 +0000)]
Fix our parsing of the LDAP url. We get around it as all decent systems seem
to have ldap_initialize.

Thanks to abartlet for the fix (and the bug in the first place ;-))

Volker
(This used to be commit 17473a65eb119ca2240b40a8c029d9a499cde177)

15 years agoabartlet pointed me at the fact that the order and flags in loadparm.c are
Volker Lendecke [Thu, 25 Dec 2003 10:08:31 +0000 (10:08 +0000)]
abartlet pointed me at the fact that the order and flags in loadparm.c are
actually used.... 'afs username map' should not show up in the swat basic
view. :-)

Maybe I should use swat from time to time....

Volker
(This used to be commit d4e071d14b8ae622c1edbb33bb5677713df1f961)

15 years agoFix bug 916 - do not perform a + -> space substitution for squid URL encoded
Andrew Bartlett [Thu, 25 Dec 2003 09:37:41 +0000 (09:37 +0000)]
Fix bug 916 - do not perform a + -> space substitution for squid URL encoded
strings, only form input in SWAT.

Andrew Bartlett
(This used to be commit 8d54f5fe0c5689660f37788916b37014754ce23e)

15 years agoThanks to Serassio Guido for noticing issues in our Squid NTLMSSP
Andrew Bartlett [Wed, 24 Dec 2003 09:56:51 +0000 (09:56 +0000)]
Thanks to Serassio Guido for noticing issues in our Squid NTLMSSP
implementation.  We were not resetting the NTLMSSP state for new
negotiate packets.

Andrew Bartlett
(This used to be commit e0a026c9b561893e5534923b18ca748e6177090e)

15 years agoFix typo.
John Terpstra [Tue, 23 Dec 2003 20:25:21 +0000 (20:25 +0000)]
Fix typo.
(This used to be commit 46b2fb4db5c7e273a9b43c59340a0a47ade5bd5e)

15 years agoFix for special files being hidden from admins by Dmitry Butskoj <buc@odusz.elektra.ru>
Jeremy Allison [Tue, 23 Dec 2003 07:33:42 +0000 (07:33 +0000)]
Fix for special files being hidden from admins by Dmitry Butskoj <buc@odusz.elektra.ru>
Jeremy.
(This used to be commit bee4b3348e5052cc927c837c2a21b4c90db980fc)

15 years agoadd well known rid for pre win2k compatible access group; bug 897
Gerald Carter [Mon, 22 Dec 2003 21:48:06 +0000 (21:48 +0000)]
add well known rid for pre win2k compatible access group; bug 897
(This used to be commit 33a1a374ebb44c839d995d11e1229767fc679678)

15 years agocorrect typo in delete user script; bug 887
Gerald Carter [Mon, 22 Dec 2003 21:32:33 +0000 (21:32 +0000)]
correct typo in delete user script; bug 887
(This used to be commit 6060afb98949a39eb4386d35481eaa5caae0fd97)

15 years agoPatch from Jianliang Lu j.lu@tiesse.com to manage Power Users
Jeremy Allison [Mon, 22 Dec 2003 11:12:15 +0000 (11:12 +0000)]
Patch from Jianliang Lu j.lu@tiesse.com to manage Power Users
group.
Jeremy.
(This used to be commit 72252fb0b207205d41a2ec50f6d364bf0bb21747)

15 years agoA small fix to torture.c to cleanup the error handling and prevent crashes.
Richard Sharpe [Fri, 19 Dec 2003 01:43:44 +0000 (01:43 +0000)]
A small fix to torture.c to cleanup the error handling and prevent crashes.

I really should clean up the comment as well.
(This used to be commit 34351e457a0d9c494653179429fb71453d1d838e)

15 years ago* add a few useful debug lines
Gerald Carter [Fri, 19 Dec 2003 00:33:09 +0000 (00:33 +0000)]
* add a few useful debug lines
* fix bug involving Win9x clients.  Make sure we
  save the right case for the located username
  in fill_sam_account()
(This used to be commit 850e4be29e185ebe890f094372aa8c2cc86de76a)

15 years agoAdd in comments explaining NTLMv2 selection. Use lm session key if that's
Jeremy Allison [Wed, 17 Dec 2003 21:57:26 +0000 (21:57 +0000)]
Add in comments explaining NTLMv2 selection. Use lm session key if that's
all there is.
Jeremy.
(This used to be commit b611f8d170743f1f4d71b1def83bb757d9f467af)

15 years agoTidyup debug message in ntlmssp code. Add brackets around dodgy if statement.
Jeremy Allison [Wed, 17 Dec 2003 20:11:39 +0000 (20:11 +0000)]
Tidyup debug message in ntlmssp code. Add brackets around dodgy if statement.
Jeremy
(This used to be commit 5aab4b976c0aced68d71c1e71e85287072a6f3c7)

15 years agoMake sure we correctly generate the lm session key.
Gerald Carter [Wed, 17 Dec 2003 06:18:13 +0000 (06:18 +0000)]
Make sure we correctly generate the lm session key.
This fixes a problem joining a Samba domain from a
vanilla win2k client that doesn't set the
NTLMSSP_NEGOTIATE_NTLM2 flag.

Reported on samba ml as "decode_pw: incorrect password length"
when handling a samr_set_userinfo(23 or 24) RPC.
(This used to be commit ef4ab8d7c497e4229d0c1deeb20d05c95bd8feb9)

15 years agomake sure we delete the group mapping before calling the delete group script; patch...
Gerald Carter [Tue, 16 Dec 2003 18:35:23 +0000 (18:35 +0000)]
make sure we delete the group mapping before calling the delete group script; patch from Jianliang Lu <j.lu@tiesse.com>
(This used to be commit 19a8dd523a4ee50ba9066efd60a29cf3ba9ae419)

15 years agoSmall fix from Jérôme Tournier <jerome.tournier@IDEALX.com>
Jeremy Allison [Tue, 16 Dec 2003 18:14:10 +0000 (18:14 +0000)]
Small fix from Jérôme Tournier <jerome.tournier@IDEALX.com>
Jeremy.
(This used to be commit 6ce7932520c0e5417e3b8a214a97244d10bdf4ad)

15 years agocorrect problem with pam config install
Gerald Carter [Mon, 15 Dec 2003 16:42:42 +0000 (16:42 +0000)]
correct problem with pam config install
(This used to be commit c368defc05f80c255ceb51229ea7a2ef16ee6aee)

15 years agomore fixes after moving /var/cache/samba -> /var/lib/samba
Gerald Carter [Mon, 15 Dec 2003 06:52:26 +0000 (06:52 +0000)]
more fixes after moving /var/cache/samba -> /var/lib/samba
(This used to be commit 1742780dd67bec7fd30522b47d57035f51f330ad)

15 years agoWhen parsing 'param = value', don't split 'value' at spaces.
Volker Lendecke [Sun, 14 Dec 2003 17:47:15 +0000 (17:47 +0000)]
When parsing 'param = value', don't split 'value' at spaces.

Thanks to Ralf Spenneberg for the fix.

Volker
(This used to be commit bc383582b248518e39225405d0def411d552aa7d)

15 years agoFix from ndb@theghet.to to allow an existing LDAP machine account to be
Jeremy Allison [Sat, 13 Dec 2003 01:43:54 +0000 (01:43 +0000)]
Fix from ndb@theghet.to to allow an existing LDAP machine account to be
re-used, rather than created from scratch.
Jeremy.
(This used to be commit 6d46e66ac2048352ca60f92fc384f60406024d4b)

15 years agoFix for bug #815. Make plaintext unicode passwords work with NT4.x
Jeremy Allison [Fri, 12 Dec 2003 22:54:43 +0000 (22:54 +0000)]
Fix for bug #815. Make plaintext unicode passwords work with NT4.x
Jeremy.
(This used to be commit ba0b5b8c9be9bfeba5e0b3f930ca0463d1e78c9c)

15 years agoFix detection of elements in in-memory keytab code.
Jeremy Allison [Fri, 12 Dec 2003 20:16:03 +0000 (20:16 +0000)]
Fix detection of elements in in-memory keytab code.
Jeremy.
(This used to be commit 05afc340862c3c7caeb9ede74ea1e9a57ee937ae)

15 years agofixing upgrade bug; fixing PAM config file install bug
Gerald Carter [Fri, 12 Dec 2003 17:48:19 +0000 (17:48 +0000)]
fixing upgrade bug; fixing PAM config file install bug
(This used to be commit 46f8fe6848bddd5dfc4d8ee55f036d8e8ca620a4)

15 years agofix bug that prevent --mandir from overriding the defaults given in the --with-fhs...
Gerald Carter [Thu, 11 Dec 2003 22:27:49 +0000 (22:27 +0000)]
fix bug that prevent --mandir from overriding the defaults given in the --with-fhs macro
(This used to be commit 58b97b91da409a299bf7dd97bc375479f65dba18)

15 years agoCorrectly detect in-memory krb5 keytab support. Fix for bug #863 from
Jeremy Allison [Thu, 11 Dec 2003 20:54:57 +0000 (20:54 +0000)]
Correctly detect in-memory krb5 keytab support. Fix for bug #863 from
gschafer@zip.com.au (Greg Schafer).
Jeremy.
(This used to be commit 583b96e867d2c2cafbfa9d03f33402d6d9d44191)

15 years agoPatch from James Peach <jpeach@sgi.com>. Remove the MAX_CONNECTIONS limit
Jeremy Allison [Thu, 11 Dec 2003 20:00:16 +0000 (20:00 +0000)]
Patch from James Peach <jpeach@sgi.com>. Remove the MAX_CONNECTIONS limit
by increasing bitmap size. Limited by "max connections" parameter.
Bug #716.
Jeremy.
(This used to be commit fbbeb55b230ffc477f5563af66ab65eb6598e025)

15 years agomount.cifs failed to mount to directory owned by user when run setuid
Steve French [Thu, 11 Dec 2003 19:47:52 +0000 (19:47 +0000)]
mount.cifs failed to mount to directory owned by user when run setuid
(This used to be commit 18c0315c3cb1a28fd870f8dd5d92f2e9117a29fc)

15 years agofixed bad formal parameter type in get_static(); patch Andy Polyakov
Gerald Carter [Thu, 11 Dec 2003 15:35:11 +0000 (15:35 +0000)]
fixed bad formal parameter type in get_static(); patch Andy Polyakov
(This used to be commit 9c70e4b44e0dda8f2af4172b928437bd9d3e8b7c)

15 years agoFix uninitialized variable in passdb code. Reported by Andy Polyakov <appro@fy.chalme...
Alexander Bokovoy [Thu, 11 Dec 2003 10:24:43 +0000 (10:24 +0000)]
Fix uninitialized variable in passdb code. Reported by Andy Polyakov <appro@fy.chalmers.se>
(This used to be commit ac7a60abf2c465b518a3eb7502fa8eee767c8b22)

15 years agofix bug when installing pam config file on RedHat; remove references to /var/cache...
Gerald Carter [Thu, 11 Dec 2003 06:08:04 +0000 (06:08 +0000)]
fix bug when installing pam config file on RedHat; remove references to /var/cache/samba in Fedora specfile
(This used to be commit 91a540079796dd64283a6ebdb3c69b0a7975ffff)

15 years agoFix UNISTR2 length bug in LsaQueryInfo(3) that cause SID resolution to fail on local...
Gerald Carter [Wed, 10 Dec 2003 21:13:44 +0000 (21:13 +0000)]
Fix UNISTR2 length bug in LsaQueryInfo(3) that cause SID resolution to fail on local files on on domain members; bug 875
(This used to be commit c6594e35573186966a4d57404f1c06b98670db06)

15 years agomore group lookup access fixes on the neverending bug 281
Gerald Carter [Wed, 10 Dec 2003 16:40:17 +0000 (16:40 +0000)]
more group lookup access fixes on the neverending bug 281
(This used to be commit 9359a6ea80d1228e87ea825a100a2d289c37162d)

15 years agoFix #558 -- support ISO-8859-1 internally. Makes Solaris users a bit happier
Alexander Bokovoy [Wed, 10 Dec 2003 15:59:28 +0000 (15:59 +0000)]
Fix #558 -- support ISO-8859-1 internally. Makes Solaris users a bit happier
(This used to be commit ba95fe56d2db8243191d5dd6b75c6b65e0f5fbe9)

15 years agosetting version to 3.0.2pre1
Gerald Carter [Wed, 10 Dec 2003 14:44:48 +0000 (14:44 +0000)]
setting version to 3.0.2pre1
(This used to be commit f0ac8ea48533357733c85f0ce4db3f8bc9ef362b)

15 years agopatch from TAKEDA yasuma to bypass any missing language files
Gerald Carter [Wed, 10 Dec 2003 14:10:26 +0000 (14:10 +0000)]
patch from TAKEDA yasuma to bypass any missing language files
(This used to be commit a3b0cc9f5b230cc4b9a017c9566b2ef83fb54030)

15 years agofinal touches on Fedora Core 1 specfile
Gerald Carter [Wed, 10 Dec 2003 00:47:31 +0000 (00:47 +0000)]
final touches on Fedora Core 1 specfile
(This used to be commit ebae93f4b997ed627c9531259dd061a4713d86e2)

15 years agoIRIX spinlock patch from James Peach <jpeach@sgi.com>.
Jeremy Allison [Tue, 9 Dec 2003 22:41:26 +0000 (22:41 +0000)]
IRIX spinlock patch from James Peach <jpeach@sgi.com>.
Jeremy.
(This used to be commit 1ae1987a002716e8aa0d4bc0dd68f580ad762e47)

15 years agoworking on packaging; also fixed some path issues in configure.in & Makefile.in
Gerald Carter [Tue, 9 Dec 2003 21:29:25 +0000 (21:29 +0000)]
working on packaging; also fixed some path issues in configure.in & Makefile.in
(This used to be commit 8f6cd36fa03edf75e8e3a806ab178d8563dea081)

15 years agoFinal part of fix for #445. Don't add user for machine accounts.
Jeremy Allison [Tue, 9 Dec 2003 18:34:29 +0000 (18:34 +0000)]
Final part of fix for #445. Don't add user for machine accounts.
Jeremy.
(This used to be commit 3684cffbd269389d14b37edd5959e29912c13a60)

15 years agofix bug in get_peer_name() caused by --enable-developer and using the same src &...
Gerald Carter [Tue, 9 Dec 2003 18:20:27 +0000 (18:20 +0000)]
fix bug in get_peer_name() caused by --enable-developer and using the same src & dest strings to alpha_strcpy(); reported by Michael Young
(This used to be commit b7df6849c9368aa2e5960de54a03be269ab89fef)

15 years agostarting on Fedora packaging; reference point to begin with taken from RH 3.0.0-15...
Gerald Carter [Tue, 9 Dec 2003 17:36:11 +0000 (17:36 +0000)]
starting on Fedora packaging; reference point to begin with taken from RH 3.0.0-15 packaging files
(This used to be commit 4062cc38fde129056ea7ff796f7d00cfb6abf263)

15 years agostarting on Fedora packaging
Gerald Carter [Tue, 9 Dec 2003 15:48:40 +0000 (15:48 +0000)]
starting on Fedora packaging
(This used to be commit a78079286ec2a73ca26f9706d063d6b30553486d)

15 years agoMake intent to return only one address clear.
Jeremy Allison [Tue, 9 Dec 2003 02:29:27 +0000 (02:29 +0000)]
Make intent to return only one address clear.
Jeremy.
(This used to be commit d3d0353baeba580d8a7a4688f847463b1b2e750c)

15 years agoworking on bug 687; protect against null src strings in alloc_sub_basic()
Gerald Carter [Mon, 8 Dec 2003 17:40:44 +0000 (17:40 +0000)]
working on bug 687; protect against null src strings in alloc_sub_basic()
(This used to be commit 6cf91bce40f85879de00b9ce89ad9b5e04a50b35)

15 years agomake sure we use a real network address in case there are extra non-zero octets in...
Gerald Carter [Mon, 8 Dec 2003 17:40:15 +0000 (17:40 +0000)]
make sure we use a real network address in case there are extra non-zero octets in hosts allow/deny
(This used to be commit 0348e85177ae90c350659451424ab521a4fc335a)

15 years agoFix comment.
Tim Potter [Sun, 7 Dec 2003 10:48:31 +0000 (10:48 +0000)]
Fix comment.
(This used to be commit a999f7f23fc68e51dd04f1c5a2c84f19d5c4a0a5)

15 years agoFix for bug #445 (missing unix user on kerberos auth doesn't call add user
Jeremy Allison [Sat, 6 Dec 2003 02:34:02 +0000 (02:34 +0000)]
Fix for bug #445 (missing unix user on kerberos auth doesn't call add user
script).
Jeremy.
(This used to be commit 5d9f06bdae4e7b878a87fb97367cf10afbc5f6b2)

15 years agofix %a variable for Windows 2003 -> Win2K3
Gerald Carter [Fri, 5 Dec 2003 21:51:51 +0000 (21:51 +0000)]
fix %a variable for Windows 2003 -> Win2K3
(This used to be commit 2f43a1c166dfc8679a9d03bd0f3cf9303aafcf74)

15 years agopackaging updates from Buchan
Gerald Carter [Fri, 5 Dec 2003 17:14:16 +0000 (17:14 +0000)]
packaging updates from Buchan
(This used to be commit b67929cc3e2339e0865f2924b930f1d834c20ed9)

15 years agocreate libdir for installclientlib; patch from Bill Knox
Gerald Carter [Fri, 5 Dec 2003 15:23:21 +0000 (15:23 +0000)]
create libdir for installclientlib; patch from Bill Knox
(This used to be commit b19472e108508935e6c80f61fd1394e852cb0902)

15 years agoremoving RCS tags
Gerald Carter [Fri, 5 Dec 2003 14:06:55 +0000 (14:06 +0000)]
removing RCS tags
(This used to be commit 9a7774306dfa29f0b343343844a2c08650d5ba1a)

15 years ago* removing extra file
Gerald Carter [Fri, 5 Dec 2003 13:57:02 +0000 (13:57 +0000)]
* removing extra file
* updating version in Makefile
(This used to be commit 3249e69274c00922c6d8710019c19d8c8add8255)

15 years agofixed a problem with "net rpc vampire" mis-parsing the alias member
Andrew Tridgell [Fri, 5 Dec 2003 11:30:47 +0000 (11:30 +0000)]
fixed a problem with "net rpc vampire" mis-parsing the alias member
info reply

Thanks to a bug report by 'musb'
(This used to be commit 310f90f3689d4acd16368a833f23ea5f9aaa0133)

15 years agoChange PICFLAG -> PICFLAGS to keep in line with version from source
Tim Potter [Fri, 5 Dec 2003 11:12:05 +0000 (11:12 +0000)]
Change PICFLAG -> PICFLAGS to keep in line with version from source
directory and fix display bug.
(This used to be commit f43546d0af7c7ad74b3bf0bae1652822184a04da)

15 years agoupdating top 0.8.2-1 of the smbldap tools
Gerald Carter [Thu, 4 Dec 2003 21:59:20 +0000 (21:59 +0000)]
updating top 0.8.2-1 of the smbldap tools
(This used to be commit b798f30f0a83ba00ebbe1b82983ca6690642ad02)

15 years agobumping version in preparation for 3.0.1rc1
Gerald Carter [Thu, 4 Dec 2003 21:38:47 +0000 (21:38 +0000)]
bumping version in preparation for 3.0.1rc1
(This used to be commit 91c95391c3efd4c1009032acc6af9f7886447c55)

15 years agoFix incorrect smb flags2 for connections to pre-NT servers (causes smbclient to
Steve French [Thu, 4 Dec 2003 21:26:14 +0000 (21:26 +0000)]
Fix incorrect smb flags2 for connections to pre-NT servers (causes smbclient to
fail to OS2 for example)
(This used to be commit 54e2fcb8f4a9d603b3210baa014b3f5f15070a22)

15 years agofix process_incoming_data() to return the number of bytes handled this call whether...
Gerald Carter [Thu, 4 Dec 2003 20:20:59 +0000 (20:20 +0000)]
fix process_incoming_data() to return the number of bytes handled this call whether we have a complete pdu or not; fixes bug with multiple pdu request rpc's broken over SMBwriteX calls each
(This used to be commit ff06f3ca8e597d093b8a76b5cfabfa6009f4b591)

15 years agofix debug message
Gerald Carter [Thu, 4 Dec 2003 19:22:44 +0000 (19:22 +0000)]
fix debug message
(This used to be commit 550b309a65d138364502c720894e2099de6b5076)

15 years agotypo in BASEDIR; patch from Darren Chew
Gerald Carter [Thu, 4 Dec 2003 16:38:50 +0000 (16:38 +0000)]
typo in BASEDIR; patch from Darren Chew
(This used to be commit 21b0758a88a2469a61d13acf7ecc006152a07273)

15 years agosync OID with HEAD
Gerald Carter [Thu, 4 Dec 2003 05:02:53 +0000 (05:02 +0000)]
sync OID with HEAD
(This used to be commit d463abb035a19dce84902039623275cd72e16edc)

15 years agosupport munged dial for ldapsam; patch from Aurélien Degrémont; bug 800
Gerald Carter [Thu, 4 Dec 2003 04:52:00 +0000 (04:52 +0000)]
support munged dial for ldapsam; patch from Aurélien Degrémont; bug 800
(This used to be commit 1c3c16abc94d197e69e3350de1e5cc1e99be4322)

15 years agodon't crash on a NULL priviledge pointer; patch from Jianliang Lu
Gerald Carter [Thu, 4 Dec 2003 04:31:29 +0000 (04:31 +0000)]
don't crash on a NULL priviledge pointer; patch from Jianliang Lu
(This used to be commit 2742e813fea2366f91bec62dca407f65ad5c4623)

15 years agoPicked up by the build farm - despite all my efforts, security=server was
Andrew Bartlett [Thu, 4 Dec 2003 04:16:16 +0000 (04:16 +0000)]
Picked up by the build farm - despite all my efforts, security=server was
broken by my NTLM2 commit.  This should correctly cause the NTLM2 case
not to be negotiated when 'security=server' is in effect.

Andrew Bartlett
(This used to be commit 19bb4b582f98eb1da41e22c9a2a2c11602cb95e4)

15 years agoWithout 'non unix accounts' we can't test security=domain on the build farm.
Andrew Bartlett [Thu, 4 Dec 2003 03:55:12 +0000 (03:55 +0000)]
Without 'non unix accounts' we can't test security=domain on the build farm.
(This used to be commit c8485d3f00727fb363b45e48581eeb0b0b0cb851)

15 years ago* fix RemoveSidForeignDomain() ; bug 252
Gerald Carter [Thu, 4 Dec 2003 03:35:46 +0000 (03:35 +0000)]
* fix RemoveSidForeignDomain() ; bug 252
* don't fall back to unmapped UNIX group for
  get_local_group_from_sid()
* remove an extra become/unbecome_root() pair
  from group enumeration
(This used to be commit da12bbdb0dd9179b1ed457fa009679e2da4a8440)

15 years agoFix for "hash" (not hash2) type mangling. Noticed by "Forrest W. Christian" <fwc...
Jeremy Allison [Wed, 3 Dec 2003 23:16:27 +0000 (23:16 +0000)]
Fix for "hash" (not hash2) type mangling. Noticed by "Forrest W. Christian" <fwc@mt.net>
Jeremy.
(This used to be commit 3a8fe3b2ef30cbe0cf441d6c4ffa9c309dc71e54)

15 years agoMatch Win2k and return 'invalid parameter' for creating of a new account with
Andrew Bartlett [Tue, 2 Dec 2003 12:48:15 +0000 (12:48 +0000)]
Match Win2k and return 'invalid parameter' for creating of a new account with
account flags of 0.

Andrew Bartlett
(This used to be commit 601120f335b69e5b8a003038dfac00f3f234a5c1)

15 years agoTwo trivial warnings
Volker Lendecke [Tue, 2 Dec 2003 11:36:02 +0000 (11:36 +0000)]
Two trivial warnings

Volker
(This used to be commit a13e088493d91d39f730ba4b5138d5c4c5aa113a)

15 years agoClient connect signing error messages should be level zero else
Jeremy Allison [Mon, 1 Dec 2003 22:55:43 +0000 (22:55 +0000)]
Client connect signing error messages should be level zero else
they're easy to miss.
Jeremy.
(This used to be commit 7fa89b093709053650d197d2d0f091b9a1cd8218)

15 years agoGet a little paranoid about memfree use in convert_string_allocate..
Jeremy Allison [Mon, 1 Dec 2003 22:46:46 +0000 (22:46 +0000)]
Get a little paranoid about memfree use in convert_string_allocate..
Looking at crash bugs #809 and others.
Jeremy.
(This used to be commit cd2075580b0f35c8a414c995f03834c01efaa9be)

15 years agoanother strequal() == 0 fix
Gerald Carter [Mon, 1 Dec 2003 19:59:25 +0000 (19:59 +0000)]
another strequal() == 0 fix
(This used to be commit 464b410734c46bc55f2427e99ecf61bad7e3b244)

15 years agofix inverted logic caused by s/strcmp/strequal/; host allow/deny works again; bug 846
Gerald Carter [Mon, 1 Dec 2003 19:25:41 +0000 (19:25 +0000)]
fix inverted logic caused by s/strcmp/strequal/; host allow/deny works again; bug 846
(This used to be commit c816b44a9c1278d756f63044bb3a3bce3afec9b3)

15 years agoadd Replicator and RAS Servers to list of builtin SIDs we resolve; bug 608
Gerald Carter [Mon, 1 Dec 2003 18:37:47 +0000 (18:37 +0000)]
add Replicator and RAS Servers to list of builtin SIDs we resolve; bug 608
(This used to be commit 4bc58129e073973620aed1bfb161ee83c1863f81)

15 years agodon't mistake pre-existing UNIX jobs for smb jobs; patch from SATOH Fumiyasu bug 770
Gerald Carter [Mon, 1 Dec 2003 18:02:05 +0000 (18:02 +0000)]
don't mistake pre-existing UNIX jobs for smb jobs; patch from SATOH Fumiyasu bug 770
(This used to be commit 3a55788dca537248d0aea9973a84075e142b7736)

15 years agoIn the brief 'net rpc group' listing, don't cut off group names at 21 chars.
Volker Lendecke [Mon, 1 Dec 2003 14:12:26 +0000 (14:12 +0000)]
In the brief 'net rpc group' listing, don't cut off group names at 21 chars.

Volker
(This used to be commit 5d0b8280f6c4990ee3a26c310efebfa859ee21be)

15 years agoBeautify the net status help message a bit
Volker Lendecke [Mon, 1 Dec 2003 14:07:22 +0000 (14:07 +0000)]
Beautify the net status help message a bit

Volker
(This used to be commit e9391e206a8cdbcc08597a33b557b86f9a5d73ce)

15 years agoI needed a decently parseable format of smbstatus. Looking at smbstatus code
Volker Lendecke [Mon, 1 Dec 2003 13:58:43 +0000 (13:58 +0000)]
I needed a decently parseable format of smbstatus. Looking at smbstatus code
tells me that this should not be expanded, so I implemented

net status [sessions|shares] [parseable]

Volker
(This used to be commit 63d877c6b4786dcddf5f389842f798857be282c0)

15 years agoFix spurious error msg. when seq=0.
Jeremy Allison [Mon, 1 Dec 2003 06:59:54 +0000 (06:59 +0000)]
Fix spurious error msg. when seq=0.
Jeremy
(This used to be commit 4912ad8f18041c9c3abe2cfa67dd26a324c9c31e)

15 years agoEnsure the server can cope with multiple secondary trans
Jeremy Allison [Mon, 1 Dec 2003 06:53:10 +0000 (06:53 +0000)]
Ensure the server can cope with multiple secondary trans
requests when signing is turned on.
Jeremy.
(This used to be commit 206464a748a59b1d485d4d3d0cb4d257d60fbd00)

15 years agoSubtract NT_STATUS from common flag, don't add it...
Jeremy Allison [Mon, 1 Dec 2003 06:19:17 +0000 (06:19 +0000)]
Subtract NT_STATUS from common flag, don't add it...
Jeremy.
(This used to be commit 4e73faa7b4af7f73bdce9fcc2ee1825249dc7da7)

15 years agoEnsure we use the same mid for the secondary trans requests, W2K3
Jeremy Allison [Mon, 1 Dec 2003 03:24:50 +0000 (03:24 +0000)]
Ensure we use the same mid for the secondary trans requests, W2K3
does this.
Jeremy.
(This used to be commit 8adf0cd27a23b1bc6e0da08789a8b1e9eefb54a7)

15 years agoDon't automatically set nt status code flag unless client tells us it can
Jeremy Allison [Mon, 1 Dec 2003 02:25:56 +0000 (02:25 +0000)]
Don't automatically set nt status code flag unless client tells us it can
cope.
Jeremy.
(This used to be commit 0d82ac57a59276adb403f8e023578c2d6d5136e4)

15 years agoBetter fix for client signing bug. Ensure we don't malloc/free trans signing
Jeremy Allison [Mon, 1 Dec 2003 01:04:04 +0000 (01:04 +0000)]
Better fix for client signing bug. Ensure we don't malloc/free trans signing
state info each packet.
Jeremy.
(This used to be commit 818cf32d6330f7e7855ce662326003e75d4a1d46)

15 years agoFix signing bug with secondary client trans requests. Turns out the last
Jeremy Allison [Sun, 30 Nov 2003 19:40:57 +0000 (19:40 +0000)]
Fix signing bug with secondary client trans requests. Turns out the last
packet is the one that matters for checking the signing replies. Need to
check the server code does this correctly too....
Bug #832 reported by Volker.
Jeremy.
(This used to be commit 6750dc33b46c422582176b704592d9b2f1fb04d7)

15 years agoImplement 'net rpc group list [global|local|builtin]*' for a select listing of
Volker Lendecke [Fri, 28 Nov 2003 15:10:00 +0000 (15:10 +0000)]
Implement 'net rpc group list [global|local|builtin]*' for a select listing of
the respective user databases.

Volker
(This used to be commit 39e4ee0c5be9f8d5a26b03ae17865b8e576b0b62)

15 years agoFix for pdbedit error code returns (sorry, forgot who sent in the patch).
Jeremy Allison [Thu, 27 Nov 2003 18:34:42 +0000 (18:34 +0000)]
Fix for pdbedit error code returns (sorry, forgot who sent in the patch).
Jeremy.
(This used to be commit 685097bc50a8ef387c5082401858d482329c37bc)

15 years agoOnly ask for 512 names at a time.
Volker Lendecke [Thu, 27 Nov 2003 17:31:18 +0000 (17:31 +0000)]
Only ask for 512 names at a time.

Volker
(This used to be commit d5775b7106dc5d6326db89f7369d2ffd61646426)

15 years agoCorrect freebsd 5.1 support for winbind contributed by Aaron Collins.
Tim Potter [Thu, 27 Nov 2003 05:11:14 +0000 (05:11 +0000)]
Correct freebsd 5.1 support for winbind contributed by Aaron Collins.
Let the build farm chew on it for a bit.
(This used to be commit 41e4b036dff0af7be69bf95ea3d64dfccd3a4b8e)

15 years agouse samr_dispinfo(level == 1) for enumerating domain users so we can include the...
Gerald Carter [Thu, 27 Nov 2003 04:39:53 +0000 (04:39 +0000)]
use samr_dispinfo(level == 1) for enumerating domain users so we can include the full name in gecos field; bug 587
(This used to be commit 329065d7cddb52c52667c93e0a0218c0e89938be)

15 years agoPatch from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> to add
Jeremy Allison [Wed, 26 Nov 2003 20:58:53 +0000 (20:58 +0000)]
Patch from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> to add
MacOSX (Darwin) specific charset module code. Also had to add AC_CHECK_CPP
to configure.in (this took a *long* time to track down) to make autoconf
work correctly on Fedora Core 1.
Jeremy.
(This used to be commit c51d974b18e31a38608a3837d3fee04a209f91c8)

15 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Wed, 26 Nov 2003 20:58:52 +0000 (20:58 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 9ccf8c530def31ccf6aca4f56b53676512131e66)

15 years agoPatch from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> to add
Jeremy Allison [Wed, 26 Nov 2003 20:58:51 +0000 (20:58 +0000)]
Patch from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> to add
MacOSX (Darwin) specific charset module code. Also had to add AC_CHECK_CPP
to configure.in (this took a *long* time to track down) to make autoconf
work correctly on Fedora Core 1.
Jeremy.
(This used to be commit a5711943428e4b586fb7f064739c78fa0a3ebd52)

15 years agoClean up a comment noticed by Jonathan Shao@Panasas.com and remove an
Richard Sharpe [Wed, 26 Nov 2003 19:15:22 +0000 (19:15 +0000)]
Clean up a comment noticed by Jonathan Shao@Panasas.com and remove an
obsolete comment by Luke Leighton.
(This used to be commit 316f83add76b56fe102f5dc4c9ce3a0413d9a1f4)