1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

18262 Commits

Author SHA1 Message Date
Jelmer Vernooij
e8a5fad39d r9965: Fix some typo's
(This used to be commit d30356b9ad)
2007-10-10 11:03:29 -05:00
Günther Deschner
ce3b4a1079 r9958: revert last commit.
Guenther
(This used to be commit 351c783295)
2007-10-10 11:03:29 -05:00
Gerald Carter
d4f2df5d5c 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 005d4cb3c6)
2007-10-10 11:03:29 -05:00
Günther Deschner
a451584b2a r9955: Fix misleading comments.
Guenther
(This used to be commit 0c3b7499d4)
2007-10-10 11:03:29 -05:00
Günther Deschner
f28bdc61f4 r9953: get rid of compiler warning.
Guenther
(This used to be commit d4698acd50)
2007-10-10 11:03:29 -05:00
Günther Deschner
e722cb25d8 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 1ef7a192ee)
2007-10-10 11:03:29 -05:00
Gerald Carter
a3ef9eb6dd r9947: fix build breakage on Status VOS (build farm)
(This used to be commit ea642ac3f1)
2007-10-10 11:03:29 -05:00
Günther Deschner
470a12d25e 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 8e48e8936e)
2007-10-10 11:03:28 -05:00
Günther Deschner
513e81458f r9945: fix typos.
Guenther
(This used to be commit 12029e9022)
2007-10-10 11:03:28 -05:00
Günther Deschner
ae7f35086c r9944: fix python build
Guenther
(This used to be commit 97412dbaad)
2007-10-10 11:03:28 -05:00
Jeremy Allison
adfd5cddf7 r9935: Make it easier to find overruns.
Jeremy.
(This used to be commit e68872d147)
2007-10-10 11:03:28 -05:00
Gerald Carter
4fa0ed6349 r9914: key ordering in hash list is case insensitive
(This used to be commit 18d0543183)
2007-10-10 11:03:28 -05:00
Gerald Carter
244a6421eb r9913: fix some build breakage on solaris with --enable-socket-wrapper
(This used to be commit ece650b062)
2007-10-10 11:03:28 -05:00
Günther Deschner
b3367b8ddc r9897: fix build with --enable-socket-wrapper
Guenther
(This used to be commit 56b84995bb)
2007-10-10 11:03:27 -05:00
Gerald Carter
926ebe50ff r9895: fix typo in registry path
(This used to be commit ef7e0d70c6)
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 b12a05b237)
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 ee54d1abf9)
2007-10-10 11:03:26 -05:00
Jeremy Allison
76a85f222f r9852: Add tridge's Samba4 tdb optimisations.
Jeremy.
(This used to be commit cfe5a7e5f8)
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 9c78f3b0d6)
2007-10-10 11:03:26 -05:00
Gerald Carter
a206a5efdd r9788: more compiler warnings from Jason Mader
(This used to be commit 9c51aa5bd2)
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 ace8556b65)
2007-10-10 11:03:26 -05:00
James Peach
8c072021ef r9780: Clean up a bunch of compiler warnings.
(This used to be commit 623d2e6931)
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 9fc539088e)
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 050364ef34)
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 ef721333ab)
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 cbc66cc3ca)
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 48cb0638b5)
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 d79b179b7f)
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 b1524999e0)
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 62f9fb5e3a)
2007-10-10 11:03:24 -05:00
Gerald Carter
99376ade35 r9658: cleanup a few debug messages
(This used to be commit ddd512526c)
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 3a3bf4ddb7)
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 c588c2ee69)
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 092ff70625)
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 c72c4e4299)
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 e69df2d205)
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 5396944fc3)
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 b5e82bb512)
2007-10-10 11:03:23 -05:00
Gerald Carter
013ac99a9d r9618: adding get/put tests from Don Watson
(This used to be commit a94de276ae)
2007-10-10 11:03:23 -05:00
Gerald Carter
dffa98b761 r9615: trying a 3 second timeout on smbcontrol
(This used to be commit 4e62a51bf6)
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 0626bb6841)
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 a769aaec88)
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 8928575abd)
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 74f8718438)
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 e1de6f238f)
2007-10-10 11:03:22 -05:00
Gerald Carter
38d08ad68c r9585: update test #1
(This used to be commit 7a150ffde5)
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 58b9e48df0)
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 019155e748)
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 bec6cf7ea8)
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 c64f5666b8)
2007-10-10 11:01:13 -05:00