1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

18248 Commits

Author SHA1 Message Date
Gerald Carter
926ebe50ff r9895: fix typo in registry path
(This used to be commit ef7e0d70c68976766c01e1212e2b8f48f6895f98)
2007-10-10 11:03:27 -05:00
Gerald Carter
790a29253c 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)
2007-10-10 11:03:27 -05:00
Gerald Carter
be36d74ec2 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)
2007-10-10 11:03:26 -05:00
Jeremy Allison
76a85f222f r9852: Add tridge's Samba4 tdb optimisations.
Jeremy.
(This used to be commit cfe5a7e5f8eccecf8876c36ddeb0f6e91eb6aac4)
2007-10-10 11:03:26 -05:00
Gerald Carter
2f626e7b5a r9790: remove 'set but not used' variables (reported by Jason Mader)
(This used to be commit 9c78f3b0d6c36854e082a89cb1ee5b80fcc9fe35)
2007-10-10 11:03:26 -05:00
Gerald Carter
a206a5efdd r9788: more compiler warnings from Jason Mader
(This used to be commit 9c51aa5bd2862d73663c4148eff3080341010405)
2007-10-10 11:03:26 -05:00
Gerald Carter
063078d927 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)
2007-10-10 11:03:26 -05:00
James Peach
8c072021ef r9780: Clean up a bunch of compiler warnings.
(This used to be commit 623d2e69319ffead31a780a4d6156dae45f386d7)
2007-10-10 11:03:26 -05:00
Gerald Carter
39c05dca3c r9758: make sure to lower case usernames in winbindd's getpwnam()
(This used to be commit 9fc539088eda7f9b5d212b7df50594bec51e16f5)
2007-10-10 11:03:25 -05:00
Gerald Carter
c53e760ea5 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)
2007-10-10 11:03:25 -05:00
Gerald Carter
44707ad2e0 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)
2007-10-10 11:03:25 -05:00
Volker Lendecke
77670a2ec3 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)
2007-10-10 11:03:25 -05:00
Günther Deschner
a34c21f378 r9736: be a little more verbose on error.
Guenther
(This used to be commit 48cb0638b598be391e69695c63a19814084658ca)
2007-10-10 11:03:24 -05:00
Volker Lendecke
86dc60492a 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)
2007-10-10 11:03:24 -05:00
Gerald Carter
f44e11c100 r9661: fallback to cn attribubte if displayName is not available
(This used to be commit b1524999e0b4fc99d213fc6e56182a8fa8e88ef1)
2007-10-10 11:03:24 -05:00
Gerald Carter
be0f3f159f r9660: real fix for group enumeration bug in 3.0.20; only affected the ldapsam code
(This used to be commit 62f9fb5e3a9bce539c9fedc5fdec1b8741a922c7)
2007-10-10 11:03:24 -05:00
Gerald Carter
99376ade35 r9658: cleanup a few debug messages
(This used to be commit ddd512526c65899de50cafd95b9c64fe623153b3)
2007-10-10 11:03:24 -05:00
Gerald Carter
f5b2238bb3 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)
2007-10-10 11:03:24 -05:00
Gerald Carter
d602d8c442 r9656: fix bug in sk record list with next offsets
(This used to be commit c588c2ee69fa72089e9c0aed6881a76f4e490d86)
2007-10-10 11:03:23 -05:00
Gerald Carter
7343eb9172 r9653: adding common popt args to profiles tool (needed for debuglevel to regfio lib)
(This used to be commit 092ff7062544fba47a38e68aed9d3c9d6962fe2b)
2007-10-10 11:03:23 -05:00
James Peach
77deaeac03 r9636: The new profiles code needs all the dummy objects to link.
(This used to be commit c72c4e4299653299da00453c662f7b61e48fa6ac)
2007-10-10 11:03:23 -05:00
Gerald Carter
83f44fc187 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)
2007-10-10 11:03:23 -05:00
James Peach
52188859e7 r9627: Enable format string checking for the MIPSPro compilers.
(This used to be commit 5396944fc3799a9746d00167a6f0e8465df4dcea)
2007-10-10 11:03:23 -05:00
Volker Lendecke
56fd626fe7 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)
2007-10-10 11:03:23 -05:00
Gerald Carter
013ac99a9d r9618: adding get/put tests from Don Watson
(This used to be commit a94de276aec174bc05406ff52568e9fcd05c114e)
2007-10-10 11:03:23 -05:00
Gerald Carter
dffa98b761 r9615: trying a 3 second timeout on smbcontrol
(This used to be commit 4e62a51bf68e8ef19beed63a7520e0db20321b11)
2007-10-10 11:03:22 -05:00
Gerald Carter
78f6ccebc5 r9613: remove TMPDIR from 'make test' scripts (after comments by Don Watson)
(This used to be commit 0626bb68411225d5402221ec9b305390393c38e5)
2007-10-10 11:03:22 -05:00
Gerald Carter
e76107dd9b r9594: return the mapped name in enum_dom_groups()
(This used to be commit a769aaec88257ae006c61f0fcfd98efd4b639268)
2007-10-10 11:03:22 -05:00
Gerald Carter
1487a72da2 r9593: fix enumerated group name (should be full name (i.e. mapped name) and not unix name)
(This used to be commit 8928575abde51f04d0596420a85381f697b66c58)
2007-10-10 11:03:22 -05:00
Gerald Carter
f02a98d9b6 r9590: forget to remove this from the 3.0 tree
(This used to be commit 74f8718438c73170d394c61eb91da9d8388f84d0)
2007-10-10 11:03:22 -05:00
Gerald Carter
dab71bed4e 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)
2007-10-10 11:03:22 -05:00
Gerald Carter
38d08ad68c r9585: update test #1
(This used to be commit 7a150ffde5cb8eb5198ac351161c3d651fb279a9)
2007-10-10 11:03:22 -05:00
Volker Lendecke
fa2ec3651e 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)
2007-10-10 11:01:14 -05:00
Gerald Carter
e2a5b7da6a r9583: ensure that Samba was with with --enable-socket-wrapper for running 'make test'
(This used to be commit 019155e748d9e04150bae39676362b794c1b6043)
2007-10-10 11:01:13 -05:00
Gerald Carter
c3d30670d4 r9582: a few makefile fixes for 'make test'; get the dependencies and cleanup right
(This used to be commit bec6cf7ea80fde683e90590421569ea8ff88830c)
2007-10-10 11:01:13 -05:00
Gerald Carter
024a46c8fa r9562: successfully get the samba 3 smbtorture working (as a test case for infrastructre)
(This used to be commit c64f5666b8d1f9fb617b1cf89d6157a0c3fa9da9)
2007-10-10 11:01:13 -05:00
James Peach
cf08e1ce59 r9561: Check for alloca.h.
(This used to be commit 1944cf111adee4aaf93321d5fcf0959e33482eb1)
2007-10-10 11:01:13 -05:00
Gerald Carter
35f12fd94d r9548: more additions to make test; better checks for starting and stopping smbd
(This used to be commit dbaaf81cec59aae01e71bbb639e1937ebee2454d)
2007-10-10 11:01:12 -05:00
Jeremy Allison
b67ba1e36b r9545: (Hopefully the last) fixes for DIR -> SMB_STRUCT_DIR.
Jeremy.
(This used to be commit b242f278601e1a23c9116009482e802326d418f7)
2007-10-10 11:01:12 -05:00
Derrell Lipman
7dd03e891e r9540: correct comments in struct smbc_dirent (fixes bug 3030)
(This used to be commit 1f8aff85a68569480efc543cfe1556752c35311e)
2007-10-10 11:01:12 -05:00
Jeremy Allison
b07bc6b661 r9536: Fix one more DIR -> SMB_STRUCT_DIR typo.
Jeremy.
(This used to be commit c5b79a6709a1333d1d69d9216620b1f06fdfd5d3)
2007-10-10 11:01:12 -05:00
Jeremy Allison
85a2d32e31 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)
2007-10-10 11:01:12 -05:00
Jeremy Allison
78257e3433 r9532: Fix for bug #2152, championed by Neil Hoggarth <neil.hoggarth@physiol.ox.ac.uk>.
Jeremy.
(This used to be commit d29a45565d955e655b9b5a06039be39efc9e021b)
2007-10-10 11:01:12 -05:00
Günther Deschner
9454668a90 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)
2007-10-10 11:01:12 -05:00
Günther Deschner
1d1d2418f0 r9522: Give better error-message when "NDS Universal Password" change fails.
Guenther
(This used to be commit df90ea016a1e5b48ad5731f9bee3764cf5478bc8)
2007-10-10 11:01:11 -05:00
Gerald Carter
030bba20f1 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)
2007-10-10 11:01:11 -05:00
Jeremy Allison
f98f86394a 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)
2007-10-10 11:01:11 -05:00
Jeremy Allison
47e519e238 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)
2007-10-10 11:01:11 -05:00
Jeremy Allison
f069f96a1f r9457: Attempt to fix bug #3010 by handling END_OF_DIRECTORY_OFFSET
consistently.
Jeremy.
(This used to be commit ac8f22a328d878f064277638d63446bf68b68dfd)
2007-10-10 11:01:11 -05:00
Steve French
337db26f16 r9401: Allow disabling mandatory byte range lock mount flag, and
fix corresponding entry in mtab.
(This used to be commit e5cb7d2131b7c6963f00a8a329bf589dd78e09ce)
2007-10-10 11:00:34 -05:00