kai/samba.git
16 years agor9958: revert last commit.
Günther Deschner [Fri, 2 Sep 2005 14:12:04 +0000 (14:12 +0000)]
r9958: revert last commit.

Guenther
(This used to be commit 351c783295672a327b6040537bd09d91dd210e53)

16 years agor9956: Ensure accounts with the SeAddUsersPrivilege can modify domain and local group...
Gerald Carter [Fri, 2 Sep 2005 13:42:56 +0000 (13:42 +0000)]
r9956: Ensure accounts with the SeAddUsersPrivilege can modify domain and local group attributes (posted to samba ml and confirmed fix)
(This used to be commit 005d4cb3c636383ccf70c4891cd7cc4bd3b48ad2)

16 years agor9955: Fix misleading comments.
Günther Deschner [Fri, 2 Sep 2005 13:39:39 +0000 (13:39 +0000)]
r9955: Fix misleading comments.

Guenther
(This used to be commit 0c3b7499d4bf11805a9fc5db88eb62dd003481af)

16 years agor9953: get rid of compiler warning.
Günther Deschner [Fri, 2 Sep 2005 13:07:42 +0000 (13:07 +0000)]
r9953: get rid of compiler warning.

Guenther
(This used to be commit d4698acd5039dec0a375bb2841d02a2e305ded74)

16 years agor9952: Adapt better to the Windows way of taking and assigning ownership:
Günther Deschner [Fri, 2 Sep 2005 12:53:46 +0000 (12:53 +0000)]
r9952: Adapt better to the Windows way of taking and assigning ownership:

* Users with SeRestorePrivilege may chown files to anyone (be it as a
backup software or directly using the ownership-tab in the security
acl editor on xp), while

* Users with SeTakeOwnershipPrivilege only can chown to themselves.

Simo, Jeremy. I think this is correct now.

Guenther
(This used to be commit 1ef7a192eed457d302a08c692bb54a73a1af4afd)

16 years agor9947: fix build breakage on Status VOS (build farm)
Gerald Carter [Fri, 2 Sep 2005 11:03:59 +0000 (11:03 +0000)]
r9947: fix build breakage on Status VOS (build farm)
(This used to be commit ea642ac3f1c63c74e78e87897d1e9cdc58fd5341)

16 years agor9946: allow the priv-based chown (se_take_ownership) to chown to other users
Günther Deschner [Fri, 2 Sep 2005 09:16:08 +0000 (09:16 +0000)]
r9946: allow the priv-based chown (se_take_ownership) to chown to other users
(not only to the current_user.uid).

Jeremy, please have a look.

Guenther
(This used to be commit 8e48e8936ed59ed8d50b6eaa9954749168de3138)

16 years agor9945: fix typos.
Günther Deschner [Fri, 2 Sep 2005 09:10:42 +0000 (09:10 +0000)]
r9945: fix typos.

Guenther
(This used to be commit 12029e902277053a4066eae1b3ae311fae5e6422)

16 years agor9944: fix python build
Günther Deschner [Fri, 2 Sep 2005 09:06:33 +0000 (09:06 +0000)]
r9944: fix python build

Guenther
(This used to be commit 97412dbaada018f90a482176a03daf07f2e76466)

16 years agor9935: Make it easier to find overruns.
Jeremy Allison [Fri, 2 Sep 2005 00:24:28 +0000 (00:24 +0000)]
r9935: Make it easier to find overruns.
Jeremy.
(This used to be commit e68872d1473ea0557fac1072055a6ed21e5b3d82)

16 years agor9914: key ordering in hash list is case insensitive
Gerald Carter [Thu, 1 Sep 2005 20:24:41 +0000 (20:24 +0000)]
r9914: key ordering in hash list is case insensitive
(This used to be commit 18d05431831c88f6302a55fe23f51951987f2cb0)

16 years agor9913: fix some build breakage on solaris with --enable-socket-wrapper
Gerald Carter [Thu, 1 Sep 2005 19:31:08 +0000 (19:31 +0000)]
r9913: fix some build breakage on solaris with --enable-socket-wrapper
(This used to be commit ece650b062f5a3065e1c93e7a3460ecb137e5073)

16 years agor9897: fix build with --enable-socket-wrapper
Günther Deschner [Thu, 1 Sep 2005 15:10:03 +0000 (15:10 +0000)]
r9897: fix build with --enable-socket-wrapper

Guenther
(This used to be commit 56b84995bbdf17a03b81fff49f48aa3861c7332d)

16 years agor9895: fix typo in registry path
Gerald Carter [Thu, 1 Sep 2005 14:58:57 +0000 (14:58 +0000)]
r9895: fix typo in registry path
(This used to be commit ef7e0d70c68976766c01e1212e2b8f48f6895f98)

16 years agor9894: Add new registry key expected by Windows XP clients.
Gerald Carter [Thu, 1 Sep 2005 14:00:53 +0000 (14:00 +0000)]
r9894: Add new registry key expected by Windows XP clients.

  HKLM\\SYSTEM\\CurrentControlSet\\Control\\Termininal Server\\DefaultUserConfiguration

Apparently this started showing up after the winreg-write support
was added in 3.0.20rc1 or so.

Also modifed init_registry_data() to always run and add the
required keys.  Initial values however are only written if
they don't already exist.

This makes it easier to add new keys without having to rev the
tdb version number (which is really unnecessary in this case).

Portions of patch reviewed by Thomas Bork on the general samba ml.
(This used to be commit b12a05b23782cfcb93fb4811807ef388de97c95c)

16 years agor9893: fix REG_CREATE_KEY_EX parsing error caused by WinXP clients
Gerald Carter [Thu, 1 Sep 2005 13:57:10 +0000 (13:57 +0000)]
r9893: fix REG_CREATE_KEY_EX parsing error caused by WinXP clients
looking for an not finding a 'Terminal Server' key.
Claims to make problems with usrmgr.exe support as well
according the Samba ml.

Posted on samba@samba.org for review.  Reviewed by
Thomas Bork (comments integrated into the reg_db.c patch
coming up next).
(This used to be commit ee54d1abf929e1b5ad2c202469d1c1c744cc30d9)

16 years agor9852: Add tridge's Samba4 tdb optimisations.
Jeremy Allison [Thu, 1 Sep 2005 00:36:46 +0000 (00:36 +0000)]
r9852: Add tridge's Samba4 tdb optimisations.
Jeremy.
(This used to be commit cfe5a7e5f8eccecf8876c36ddeb0f6e91eb6aac4)

16 years agor9790: remove 'set but not used' variables (reported by Jason Mader)
Gerald Carter [Tue, 30 Aug 2005 11:41:45 +0000 (11:41 +0000)]
r9790: remove 'set but not used' variables (reported by Jason Mader)
(This used to be commit 9c78f3b0d6c36854e082a89cb1ee5b80fcc9fe35)

16 years agor9788: more compiler warnings from Jason Mader
Gerald Carter [Tue, 30 Aug 2005 11:33:12 +0000 (11:33 +0000)]
r9788: more compiler warnings from Jason Mader
(This used to be commit 9c51aa5bd2862d73663c4148eff3080341010405)

16 years agor9787: BUG 2998: patch from Humberto Diogenes <virtual.spirit@digizap.com.br> to...
Gerald Carter [Tue, 30 Aug 2005 11:31:49 +0000 (11:31 +0000)]
r9787: BUG 2998: patch from Humberto Diogenes <virtual.spirit@digizap.com.br> to include 'net rpc service' help in net rpc usage output
(This used to be commit ace8556b6525959114bea47d3be3b1b40756b058)

16 years agor9780: Clean up a bunch of compiler warnings.
James Peach [Tue, 30 Aug 2005 06:41:32 +0000 (06:41 +0000)]
r9780: Clean up a bunch of compiler warnings.
(This used to be commit 623d2e69319ffead31a780a4d6156dae45f386d7)

16 years agor9758: make sure to lower case usernames in winbindd's getpwnam()
Gerald Carter [Mon, 29 Aug 2005 21:04:22 +0000 (21:04 +0000)]
r9758: make sure to lower case usernames in winbindd's getpwnam()
(This used to be commit 9fc539088eda7f9b5d212b7df50594bec51e16f5)

16 years agor9752: figured out why talloc_steal() is a bad idea for SEC_DESC*
Gerald Carter [Mon, 29 Aug 2005 17:48:01 +0000 (17:48 +0000)]
r9752: figured out why talloc_steal() is a bad idea for SEC_DESC*
Add a comment so someone else doesn't get bitten by this as well.
(This used to be commit 050364ef34b1e69260bd9df9e2140c45263e92f5)

16 years agor9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to use
Gerald Carter [Mon, 29 Aug 2005 14:55:40 +0000 (14:55 +0000)]
r9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to use
the new talloc() features:

 Note that the REGSUB_CTR and REGVAL_CTR objects *must* be talloc()'d
 since the methods use the object pointer as the talloc context for
 internal private data.

 There is no longer a regXXX_ctr_intit() and regXXX_ctr_destroy()
 pair of functions.  Simply TALLOC_ZERO_P() and TALLOC_FREE() the
 object.

Also had to convert the printer_info_2->NT_PRINTER_DATA field
to be talloc()'d as well.  This is just a stop on the road to
cleaning up the printer memory management.
(This used to be commit ef721333ab9639cb5346067497e99fbd0d4425dd)

16 years agor9738: Adapt tdb_torture to the new CLEAR_IF_FIRST semantics. We need one parent
Volker Lendecke [Mon, 29 Aug 2005 13:45:13 +0000 (13:45 +0000)]
r9738: Adapt tdb_torture to the new CLEAR_IF_FIRST semantics. We need one parent
process holding the active if two cluster nodes access the same tdb.

Volker
(This used to be commit cbc66cc3cab0e1db31402505214c83e1be92663b)

16 years agor9736: be a little more verbose on error.
Günther Deschner [Mon, 29 Aug 2005 13:10:20 +0000 (13:10 +0000)]
r9736: be a little more verbose on error.

Guenther
(This used to be commit 48cb0638b598be391e69695c63a19814084658ca)

16 years agor9709: Fix two bugs found by Brian Moran: Any request sent to winbind while the child
Volker Lendecke [Sun, 28 Aug 2005 09:19:10 +0000 (09:19 +0000)]
r9709: Fix two bugs found by Brian Moran: Any request sent to winbind while the child
in question is still initializing overwrites domain->dcname. Only overwrite if
the parent actually has sent a dcname and thus really knows it. Second,
ntlm_auth needs the error code, not just the fact it failed.

Jerry, the 3_0 part might qualify as a "recommended patch".

Thanks,

Volker
(This used to be commit d79b179b7f9d2efa4f8ee47bfe386e90d8b58322)

16 years agor9661: fallback to cn attribubte if displayName is not available
Gerald Carter [Fri, 26 Aug 2005 19:15:19 +0000 (19:15 +0000)]
r9661: fallback to cn attribubte if displayName is not available
(This used to be commit b1524999e0b4fc99d213fc6e56182a8fa8e88ef1)

16 years agor9660: real fix for group enumeration bug in 3.0.20; only affected the ldapsam code
Gerald Carter [Fri, 26 Aug 2005 18:57:32 +0000 (18:57 +0000)]
r9660: real fix for group enumeration bug in 3.0.20;  only affected the ldapsam code
(This used to be commit 62f9fb5e3a9bce539c9fedc5fdec1b8741a922c7)

16 years agor9658: cleanup a few debug messages
Gerald Carter [Fri, 26 Aug 2005 18:10:55 +0000 (18:10 +0000)]
r9658: cleanup a few debug messages
(This used to be commit ddd512526c65899de50cafd95b9c64fe623153b3)

16 years agor9657: fix final issue with regf sk_records; profiles now successfully rewrites
Gerald Carter [Fri, 26 Aug 2005 18:10:21 +0000 (18:10 +0000)]
r9657: fix final issue with regf sk_records; profiles now successfully rewrites
Win2k and WinXP user profile security descriptors.
(This used to be commit 3a3bf4ddb702647b48baf9073c4fca0e1e16a194)

16 years agor9656: fix bug in sk record list with next offsets
Gerald Carter [Fri, 26 Aug 2005 17:40:42 +0000 (17:40 +0000)]
r9656: fix bug in sk record list with next offsets
(This used to be commit c588c2ee69fa72089e9c0aed6881a76f4e490d86)

16 years agor9653: adding common popt args to profiles tool (needed for debuglevel to regfio...
Gerald Carter [Fri, 26 Aug 2005 16:06:17 +0000 (16:06 +0000)]
r9653: adding common popt args to profiles tool (needed for debuglevel to regfio lib)
(This used to be commit 092ff7062544fba47a38e68aed9d3c9d6962fe2b)

16 years agor9636: The new profiles code needs all the dummy objects to link.
James Peach [Fri, 26 Aug 2005 06:12:52 +0000 (06:12 +0000)]
r9636: The new profiles code needs all the dummy objects to link.
(This used to be commit c72c4e4299653299da00453c662f7b61e48fa6ac)

16 years agor9628: rewrite profiles tool to use the regfio code.
Gerald Carter [Fri, 26 Aug 2005 03:40:24 +0000 (03:40 +0000)]
r9628: rewrite profiles tool to use the regfio code.
Still have one bug to track down in it though....
(This used to be commit e69df2d2051d0e7e12b6a11f9c77490f619ba792)

16 years agor9627: Enable format string checking for the MIPSPro compilers.
James Peach [Fri, 26 Aug 2005 03:23:48 +0000 (03:23 +0000)]
r9627: Enable format string checking for the MIPSPro compilers.
(This used to be commit 5396944fc3799a9746d00167a6f0e8465df4dcea)

16 years agor9619: Fix messages_pending_for_pid actually do what it's meant to do. This might be
Volker Lendecke [Thu, 25 Aug 2005 17:46:13 +0000 (17:46 +0000)]
r9619: Fix messages_pending_for_pid actually do what it's meant to do. This might be
a big relief on messages.tdb contention as ignoring processes with >1000
messages in printing/notify.c should work correctly now.

Jeremy, Jerry told me to ask you about printer scalability torture tests, this
might be a reason why you implemented the message_send_pid_with_timeout
using the signal (shudder) in the first place. :-)

While looking at that... Wouldn't it be better to not use the signal but have
an overall timeout for print_notify_send_messages using GetTimeOfDay & friends
and not use the alarm signal deep inside tdb.c?

Volker
(This used to be commit b5e82bb512d3425839e061e78f4d6fe0bd05b708)

16 years agor9618: adding get/put tests from Don Watson
Gerald Carter [Thu, 25 Aug 2005 17:15:23 +0000 (17:15 +0000)]
r9618: adding get/put tests from Don Watson
(This used to be commit a94de276aec174bc05406ff52568e9fcd05c114e)

16 years agor9615: trying a 3 second timeout on smbcontrol
Gerald Carter [Thu, 25 Aug 2005 13:53:09 +0000 (13:53 +0000)]
r9615: trying a 3 second timeout on smbcontrol
(This used to be commit 4e62a51bf68e8ef19beed63a7520e0db20321b11)

16 years agor9613: remove TMPDIR from 'make test' scripts (after comments by Don Watson)
Gerald Carter [Thu, 25 Aug 2005 12:44:37 +0000 (12:44 +0000)]
r9613: remove TMPDIR from 'make test' scripts (after comments by Don Watson)
(This used to be commit 0626bb68411225d5402221ec9b305390393c38e5)

16 years agor9594: return the mapped name in enum_dom_groups()
Gerald Carter [Wed, 24 Aug 2005 19:21:00 +0000 (19:21 +0000)]
r9594: return the mapped name in enum_dom_groups()
(This used to be commit a769aaec88257ae006c61f0fcfd98efd4b639268)

16 years agor9593: fix enumerated group name (should be full name (i.e. mapped name) and not...
Gerald Carter [Wed, 24 Aug 2005 18:13:04 +0000 (18:13 +0000)]
r9593: fix enumerated group name (should be full name (i.e. mapped name) and not unix name)
(This used to be commit 8928575abde51f04d0596420a85381f697b66c58)

16 years agor9590: forget to remove this from the 3.0 tree
Gerald Carter [Wed, 24 Aug 2005 16:50:18 +0000 (16:50 +0000)]
r9590: forget to remove this from the 3.0 tree
(This used to be commit 74f8718438c73170d394c61eb91da9d8388f84d0)

16 years agor9588: remove netsamlogon_cache interface...everything seems to work fine. Will...
Gerald Carter [Wed, 24 Aug 2005 16:19:07 +0000 (16:19 +0000)]
r9588: remove netsamlogon_cache interface...everything seems to work fine.  Will deal with any fallout from special environments using a non-cache solution
(This used to be commit e1de6f238f3981d81e49fb41919fdce4f07c8280)

16 years agor9585: update test #1
Gerald Carter [Wed, 24 Aug 2005 13:27:24 +0000 (13:27 +0000)]
r9585: update test #1
(This used to be commit 7a150ffde5cb8eb5198ac351161c3d651fb279a9)

16 years agor9584: Fix a race condition in Samba 3. If two files are opened simultaneously with
Volker Lendecke [Wed, 24 Aug 2005 13:15:01 +0000 (13:15 +0000)]
r9584: Fix a race condition in Samba 3. If two files are opened simultaneously with
NTCREATEX_DISP_CREATE (create if not exists, else fail) they might end up with
two or more times NT_STATUS_OK as EEXIST is not correctly handled.

Jeremy, please look closely at this. You can easily verify this by adding a
smb_msleep(100) to the top of open_file_ntcreate and run the new samba4
torture test. It does also happen without the msleep, but not as reliably.

Thanks,

Volker
(This used to be commit 58b9e48df03098160f39607d869a3c8e10860ba4)

16 years agor9583: ensure that Samba was with with --enable-socket-wrapper for running 'make...
Gerald Carter [Wed, 24 Aug 2005 13:09:13 +0000 (13:09 +0000)]
r9583: ensure that Samba was with with --enable-socket-wrapper for running 'make test'
(This used to be commit 019155e748d9e04150bae39676362b794c1b6043)

16 years agor9582: a few makefile fixes for 'make test'; get the dependencies and cleanup right
Gerald Carter [Wed, 24 Aug 2005 12:42:32 +0000 (12:42 +0000)]
r9582: a few makefile fixes for 'make test'; get the dependencies and cleanup right
(This used to be commit bec6cf7ea80fde683e90590421569ea8ff88830c)

16 years agor9562: successfully get the samba 3 smbtorture working (as a test case for infrastructre)
Gerald Carter [Wed, 24 Aug 2005 03:09:49 +0000 (03:09 +0000)]
r9562: successfully get the samba 3 smbtorture working (as a test case for infrastructre)
(This used to be commit c64f5666b8d1f9fb617b1cf89d6157a0c3fa9da9)

16 years agor9561: Check for alloca.h.
James Peach [Wed, 24 Aug 2005 03:09:26 +0000 (03:09 +0000)]
r9561: Check for alloca.h.
(This used to be commit 1944cf111adee4aaf93321d5fcf0959e33482eb1)

16 years agor9548: more additions to make test; better checks for starting and stopping smbd
Gerald Carter [Tue, 23 Aug 2005 22:10:44 +0000 (22:10 +0000)]
r9548: more additions to make test; better checks for starting and stopping smbd
(This used to be commit dbaaf81cec59aae01e71bbb639e1937ebee2454d)

16 years agor9545: (Hopefully the last) fixes for DIR -> SMB_STRUCT_DIR.
Jeremy Allison [Tue, 23 Aug 2005 21:29:37 +0000 (21:29 +0000)]
r9545: (Hopefully the last) fixes for DIR -> SMB_STRUCT_DIR.
Jeremy.
(This used to be commit b242f278601e1a23c9116009482e802326d418f7)

16 years agor9540: correct comments in struct smbc_dirent (fixes bug 3030)
Derrell Lipman [Tue, 23 Aug 2005 19:53:34 +0000 (19:53 +0000)]
r9540: correct comments in struct smbc_dirent (fixes bug 3030)
(This used to be commit 1f8aff85a68569480efc543cfe1556752c35311e)

16 years agor9536: Fix one more DIR -> SMB_STRUCT_DIR typo.
Jeremy Allison [Tue, 23 Aug 2005 19:05:39 +0000 (19:05 +0000)]
r9536: Fix one more DIR -> SMB_STRUCT_DIR typo.
Jeremy.
(This used to be commit c5b79a6709a1333d1d69d9216620b1f06fdfd5d3)

16 years agor9534: Fix typo spotted by William Jojo <jojowil@hvcc.edu> - define
Jeremy Allison [Tue, 23 Aug 2005 19:04:08 +0000 (19:04 +0000)]
r9534: Fix typo spotted by William Jojo <jojowil@hvcc.edu> - define
HAVE_STRUCT_DIR64 not HAVE_STRUCT_DIRENT64.
Jeremy
(This used to be commit 9131acc3f0ab342dc4afd89221b440ca3a87d2c2)

16 years agor9532: Fix for bug #2152, championed by Neil Hoggarth <neil.hoggarth@physiol.ox.ac...
Jeremy Allison [Tue, 23 Aug 2005 17:53:11 +0000 (17:53 +0000)]
r9532: Fix for bug #2152, championed by Neil Hoggarth <neil.hoggarth@physiol.ox.ac.uk>.
Jeremy.
(This used to be commit d29a45565d955e655b9b5a06039be39efc9e021b)

16 years agor9523: Fix password history for eDirectory
Günther Deschner [Tue, 23 Aug 2005 14:02:12 +0000 (14:02 +0000)]
r9523: Fix password history for eDirectory

(by allowing to store more then 1 password history entry in LDAP...)

Thanks to Bernhard Borgmann @ Novell for showing me how to debug
eDirecory.

Guenther
(This used to be commit a6e8de5c3c44d39724c81d371339e67bb0c4f416)

16 years agor9522: Give better error-message when "NDS Universal Password" change fails.
Günther Deschner [Tue, 23 Aug 2005 13:58:05 +0000 (13:58 +0000)]
r9522: Give better error-message when "NDS Universal Password" change fails.

Guenther
(This used to be commit df90ea016a1e5b48ad5731f9bee3764cf5478bc8)

16 years agor9486: ensure that the registry hash records are sorted by original subkey name and...
Gerald Carter [Mon, 22 Aug 2005 19:47:56 +0000 (19:47 +0000)]
r9486: ensure that the registry hash records are sorted by original subkey name and not the 4 character hash key
(This used to be commit 8d347561919ded19b1e7096aceb119c66f461c61)

16 years agor9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a UNIX vendor
Jeremy Allison [Mon, 22 Aug 2005 18:03:08 +0000 (18:03 +0000)]
r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a UNIX vendor
not understanding abstract data types :-(.
Jeremy.
(This used to be commit be5b4e2fa3ed30b0ff01b47d2354e5f782a12e25)

16 years agor9480: Added opendir64 and friends. Found by William Jojo <jojowil@hvcc.edu>
Jeremy Allison [Mon, 22 Aug 2005 16:18:02 +0000 (16:18 +0000)]
r9480: Added opendir64 and friends. Found by William Jojo <jojowil@hvcc.edu>
as part of the AIX bug #3010 investigations.
Jeremy.
(This used to be commit d8c750edb6a4d0037b49557849b3bc2baca8bbc1)

16 years agor9457: Attempt to fix bug #3010 by handling END_OF_DIRECTORY_OFFSET
Jeremy Allison [Sun, 21 Aug 2005 21:12:27 +0000 (21:12 +0000)]
r9457: Attempt to fix bug #3010 by handling END_OF_DIRECTORY_OFFSET
consistently.
Jeremy.
(This used to be commit ac8f22a328d878f064277638d63446bf68b68dfd)

16 years agor9401: Allow disabling mandatory byte range lock mount flag, and
Steve French [Fri, 19 Aug 2005 18:06:05 +0000 (18:06 +0000)]
r9401: Allow disabling mandatory byte range lock mount flag, and
fix corresponding entry in mtab.
(This used to be commit e5cb7d2131b7c6963f00a8a329bf589dd78e09ce)

16 years agor9366: patch from Toomas.Soome@mls.ee to include hosts lookups via the winbind pipe...
Gerald Carter [Wed, 17 Aug 2005 15:23:52 +0000 (15:23 +0000)]
r9366: patch from Toomas.Soome@mls.ee to include hosts lookups via the winbind pipe on solaris
(This used to be commit e822a7539065c12d23b491e85f2cce7e98195f77)

16 years agor9362: formatting cleanup
Gerald Carter [Wed, 17 Aug 2005 13:40:06 +0000 (13:40 +0000)]
r9362: formatting cleanup
(This used to be commit f6b8af1ce13a0fa306bdd2a8aa1f0b7c6b185d81)

16 years agor9361: patch from Ed Plese to fix a faulty error in winbindd
Gerald Carter [Wed, 17 Aug 2005 13:34:23 +0000 (13:34 +0000)]
r9361: patch from Ed Plese to fix a faulty error in winbindd
caused by users with no supplementary groups.
(This used to be commit dbdf8c631531c499965630bfae3b381f3dc8314a)

16 years agor9353: Updating troublshooting error message.
John Terpstra [Wed, 17 Aug 2005 06:01:38 +0000 (06:01 +0000)]
r9353: Updating troublshooting error message.
(This used to be commit 7744de8ead6aef67278368e407dd1db8b9437348)

16 years agor9350: Fix direct malloc calls made by smbwrapper.
Jeremy Allison [Wed, 17 Aug 2005 05:09:32 +0000 (05:09 +0000)]
r9350: Fix direct malloc calls made by smbwrapper.
Jeremy.
(This used to be commit 8bac610239e97ebdbd63dfb175001b69bcb27b18)

16 years agor9330: Remove the classic dual daemon since it was not being used.
Gerald Carter [Tue, 16 Aug 2005 21:15:41 +0000 (21:15 +0000)]
r9330: Remove the classic dual daemon since it was not being used.
It was already gone in trunk anyways.
working on fixing BUG 3000 which does work now but we are flying
without a cache.
(This used to be commit 4936d6d8b28edc59a3d17defcdf255ea6e0ba4e0)

16 years agor9325: Remember to ignore FILE_SHARE_DELETE when mapping to old share
Jeremy Allison [Tue, 16 Aug 2005 19:40:13 +0000 (19:40 +0000)]
r9325: Remember to ignore FILE_SHARE_DELETE when mapping to old share
modes for display.
Jeremy.
(This used to be commit f00d41a9dcd03033c59a399090058c76b5ce14c1)

16 years agor9322: fixing debug log and ensuring that we set the right winbind_methods
Gerald Carter [Tue, 16 Aug 2005 15:47:52 +0000 (15:47 +0000)]
r9322: fixing debug log and ensuring that we set the right winbind_methods
pointer in get_cache() by requiring that all domain structure be
initialized with the set_dc_type_and_flags().
(This used to be commit c064609b942e88c70fe0a868e52c57ad1016850c)

16 years agor9304: BUG 3001: don't use C style comments in configure.in (thanks Jason)
Gerald Carter [Sun, 14 Aug 2005 12:13:32 +0000 (12:13 +0000)]
r9304: BUG 3001: don't use C style comments in configure.in (thanks Jason)
(This used to be commit 78d49638e1984a8a44caadeeda2355351f5f4abb)

16 years agor9303: Clobber compiler warnings. Patch from Jason Mader <jason@ncac.gwu.edu> plus
James Peach [Sat, 13 Aug 2005 12:05:54 +0000 (12:05 +0000)]
r9303: Clobber compiler warnings. Patch from Jason Mader <jason@ncac.gwu.edu> plus
some extra function declarations. Bugzilla bug #2523.
(This used to be commit 98d364459daa48aca3d239926cf40a0655e27e97)

16 years agor9302: Change AC_LIBTESTFUNC to check in the current $LIBS before adding the new
James Peach [Sat, 13 Aug 2005 09:43:12 +0000 (09:43 +0000)]
r9302: Change AC_LIBTESTFUNC to check in the current $LIBS before adding the new
library. This stop us adding spurious libraries when the symbol we are looking
for is in libc. Bugzilla bug #2471.
(This used to be commit e1fee059e8de782bc9de671dc8757dbaa3e3e091)

16 years agor9301: Allow user-defined list and lookup timeouts on IRIX. Bugzilla bug #2284.
James Peach [Sat, 13 Aug 2005 08:49:50 +0000 (08:49 +0000)]
r9301: Allow user-defined list and lookup timeouts on IRIX. Bugzilla bug #2284.
(This used to be commit bb579141d86202ac891a7b777c137cb87effefe3)

16 years agor9293: Fix error path memory leak bug found by Coverity - also potential NULL
Jeremy Allison [Sat, 13 Aug 2005 01:48:29 +0000 (01:48 +0000)]
r9293: Fix error path memory leak bug found by Coverity - also potential NULL
deref bug (in unlikely error path) found by Coverity.
Jeremy.
(This used to be commit 9b5cc58f3abdb1945bfad340968ccabdfd040029)

16 years agor9290: Some error path cleanups found by Coverity. Whitespace reformatting.
Jeremy Allison [Sat, 13 Aug 2005 00:13:21 +0000 (00:13 +0000)]
r9290: Some error path cleanups found by Coverity. Whitespace reformatting.
This file need a lot of error path cleanup.
Jeremy.
(This used to be commit ce93e469d80bb26cda390626ba8cc55ff9c822b6)

16 years agor9288: Whitespace cleanup and memory leak on error path fix found by Coverity.
Jeremy Allison [Fri, 12 Aug 2005 23:49:57 +0000 (23:49 +0000)]
r9288: Whitespace cleanup and memory leak on error path fix found by Coverity.
Jeremy.
(This used to be commit 0b85900fc8d79c71af986bb8b6346bba7840a704)

16 years agor9286: Fix false positive found by Coverity - wcard must not be null.
Jeremy Allison [Fri, 12 Aug 2005 23:45:16 +0000 (23:45 +0000)]
r9286: Fix false positive found by Coverity - wcard must not be null.
Jeremy.
(This used to be commit 31104e5bcfffdd48071b2062809313679f29961f)

16 years agor9282: Whitespace.
Jeremy Allison [Fri, 12 Aug 2005 22:59:35 +0000 (22:59 +0000)]
r9282: Whitespace.
Jeremy.
(This used to be commit 183a4705114da7c3662b71405457123ce35b5358)

16 years agor9281: Fixes from Luke Mewburn <lukem@NetBSD.org> for misuses of
Jeremy Allison [Fri, 12 Aug 2005 22:58:47 +0000 (22:58 +0000)]
r9281: Fixes from Luke Mewburn <lukem@NetBSD.org> for misuses of
AC_CHECK_HEADERS.
Jeremy.
(This used to be commit 4d79070887d640150aa4427d806e7f18082a7a9c)

16 years agor9278: Remove unused variable. Bugzilla #2983.
Tim Potter [Fri, 12 Aug 2005 21:45:58 +0000 (21:45 +0000)]
r9278: Remove unused variable.  Bugzilla #2983.
(This used to be commit 5d592691e4d4f1cd47bd062633a54d7892548ee7)

16 years agor9277: Another unused variable. Bugzilla #2985.
Tim Potter [Fri, 12 Aug 2005 21:43:07 +0000 (21:43 +0000)]
r9277: Another unused variable.  Bugzilla #2985.
(This used to be commit 5e91d6450b320bb4585169c6805f292f855492a9)

16 years agor9276: Fix another unused variable warning. Bugzilla #2981.
Tim Potter [Fri, 12 Aug 2005 21:39:01 +0000 (21:39 +0000)]
r9276: Fix another unused variable warning.  Bugzilla #2981.
(This used to be commit abe2ab72e6b1d53dbe04d02882e4fee9cb34dec7)

16 years agor9275: Remove some dead code. Bugzilla #2982.
Tim Potter [Fri, 12 Aug 2005 21:35:21 +0000 (21:35 +0000)]
r9275: Remove some dead code.  Bugzilla #2982.
(This used to be commit e1fc7d89c26b671e77c7cb14e03690091b671b1d)

16 years agor9272: Patch for fixing unused variables warning from Jason Mader. Fixes
Tim Potter [Fri, 12 Aug 2005 20:58:56 +0000 (20:58 +0000)]
r9272: Patch for fixing unused variables warning from Jason Mader.  Fixes
bugzilla #2984.
(This used to be commit 7d8dd97c3d978a326ab8b1506d327082933eebae)

16 years agor9271: Fix problems with german umlauts - strcmp_w was broken (needs to always re...
Jeremy Allison [Fri, 12 Aug 2005 20:12:31 +0000 (20:12 +0000)]
r9271: Fix problems with german umlauts - strcmp_w was broken (needs to always re-call macro
on termination). Fix all other cases where this was also occurring.
Jeremy.
(This used to be commit 816e2fbb39b544b7f62d5351f3a8e0af63717227)

16 years agor9266: fix help links in swat editor after doc layout changes
Gerald Carter [Fri, 12 Aug 2005 16:03:21 +0000 (16:03 +0000)]
r9266: fix help links in swat editor after doc layout changes
(This used to be commit 4d50671602def039034fa03615cc9a205eba89c5)

16 years agor9264: fix valgrind invalid write error in enumprinterdata()
Gerald Carter [Fri, 12 Aug 2005 16:00:54 +0000 (16:00 +0000)]
r9264: fix valgrind invalid write error in enumprinterdata()
(This used to be commit bfebbc86fc0f90e580888da25006d8e5e50b6304)

16 years agor9261: Fix #2976: windows member servers wouldn't alloc connections from users
Jim McDonough [Fri, 12 Aug 2005 15:28:19 +0000 (15:28 +0000)]
r9261: Fix #2976: windows member servers wouldn't alloc connections from users
defined locally because if we didn't find them as a DC we were marking
the response as authoritative.  Now if it's not a domain we know, we
mark the response non-authoritative.

Fix from jpjanosi@us.ibm.com
(This used to be commit d522277b86ff728f6f2b9feb2f8e3fa38c43d162)

16 years agor9253: From Samba4 tridge commit - added a new DOS error code (thanks to EMC)
Jeremy Allison [Fri, 12 Aug 2005 00:35:31 +0000 (00:35 +0000)]
r9253: From Samba4 tridge commit - added a new DOS error code (thanks to EMC)
Jeremy.
(This used to be commit b195af0b392f1acf1813d88720bf989725927d93)

16 years agor9252: 2 type fixes from Luke Mewburn <lukem@NetBSD.org>. Bugid #2934.
Jeremy Allison [Fri, 12 Aug 2005 00:05:17 +0000 (00:05 +0000)]
r9252: 2 type fixes from Luke Mewburn <lukem@NetBSD.org>. Bugid #2934.
Jeremy.
(This used to be commit c63ad85b8c1aedd04a65e46c27a6e2661093847a)

16 years agor9246: Patch from Marcel samba.10.maazl@spamgourmet.com for OS/2 trans2 open
Jeremy Allison [Thu, 11 Aug 2005 22:45:57 +0000 (22:45 +0000)]
r9246: Patch from Marcel samba.10.maazl@spamgourmet.com for OS/2 trans2 open
reply bugs.
Jeremy.
(This used to be commit 3ec6fc8d1e34c344f59b8c1a22f3bab556e7fa07)

16 years agor9244: Fix bugs found by Coverity.
Jeremy Allison [Thu, 11 Aug 2005 20:44:18 +0000 (20:44 +0000)]
r9244: Fix bugs found by Coverity.
Jeremy.
(This used to be commit bf80edeea70cb4ed90f9e1e7adeedeb9cf3b38c1)

16 years agor9242: Fix my fix for #2953. I'd moved too much code until after we verify the user,
Jim McDonough [Thu, 11 Aug 2005 19:45:53 +0000 (19:45 +0000)]
r9242: Fix my fix for #2953.  I'd moved too much code until after we verify the user,
causing netlogon to return an invalid response for failed interactive logons.
(This used to be commit 4deb918b682fb51d8712cfdafc6210275dd10fc4)

16 years agor9229: merge from trunk:
Günther Deschner [Wed, 10 Aug 2005 16:02:32 +0000 (16:02 +0000)]
r9229: merge from trunk:

allow admins to uncheck the "User must change Password at next Logon"
checkbox in Usermanager.

Guenther
(This used to be commit b1e4b72c1c36869c4dfc5ed284be24edc99f6774)

16 years agor9225: Various minor CIFS mount helper fixes to less common error paths.
Steve French [Tue, 9 Aug 2005 22:44:51 +0000 (22:44 +0000)]
r9225: Various minor CIFS mount helper fixes to less common error paths.

These bugs were found by Coverity static source code analysis tools.
(This used to be commit 98a7304b6be4672f6b29e4a9406e63ccb842381c)

16 years agor9203: Bugzilla bug #2314. Cast away the const of the dev argument to quotactl to
James Peach [Sun, 7 Aug 2005 23:14:53 +0000 (23:14 +0000)]
r9203: Bugzilla bug #2314. Cast away the const of the dev argument to quotactl to
remove the compiler warning. This is safe since quotactl doesn't modify the dev
argument.
(This used to be commit ec4ea17ce603a22db11d658512f125948e604a02)

16 years agor9201: Ouch.... :-(
Volker Lendecke [Sun, 7 Aug 2005 21:34:55 +0000 (21:34 +0000)]
r9201: Ouch.... :-(
(This used to be commit c78760d71ec6a364a912ba35e8a90f8005fdc018)

16 years agor9200: Add support for REG_BINARY to rpcclient getdata and setprinterdata.
Volker Lendecke [Sun, 7 Aug 2005 21:23:38 +0000 (21:23 +0000)]
r9200: Add support for REG_BINARY to rpcclient getdata and setprinterdata.

Volker
(This used to be commit 9e94ba54b0581e4b7636e70f309af6394de6edbf)