1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

1880 Commits

Author SHA1 Message Date
Jim McDonough
254938c636 r10911: part of #2861: add rename support for usrmgr.exe when using tdbsam
This gets it working before replacing tdb with the samba4 version.
(This used to be commit 8210b0503a050e12ee1b4335fa6e50d10ad06577)
2007-10-10 11:04:56 -05:00
Gerald Carter
01a1e5cdb0 r10819: merging a couple of fixes from trunk
* only keep the registry,tdb file open when we have an open key handle
* tpot's setup.py fix
* removing files that no longer exist in trunk and copying some
  that were missing in 3.0
(This used to be commit 6c6bf6ca5fd430a7a20bf20ed08050328660e570)
2007-10-10 11:04:54 -05:00
Jeremy Allison
c226b7d4be r10795: Fix code before decl error.
Jeremy.
(This used to be commit 30bd894ee63e5be266b6069533138ccb3c0fbccb)
2007-10-10 11:04:54 -05:00
Jeremy Allison
e127501d45 r10792: Fix the "schannel not stored across client disconnects" problem.
Based on the Samba4 solution - stores data in
$samba/private/schannel_store.tdb.
This tdb is not left open but open and closed on demand.
Jeremy.
(This used to be commit a6d8a4b1ff31c5552075455dbd98cb58795958a9)
2007-10-10 11:04:54 -05:00
Gerald Carter
0bf72b6e33 r10781: merging eventlog and svcctl code from trunk
(This used to be commit f10aa9fb84bfac4f1a22b74d63999668700ffaac)
2007-10-10 11:04:53 -05:00
Jeremy Allison
2237bc6a42 r10724: Got a little ahead of myself...
Jeremy.
(This used to be commit 86ffef8162393be3da81fda13772f0f1d40b0d08)
2007-10-10 11:04:51 -05:00
Jeremy Allison
ac34076306 r10722: Remove unused BOOL in struct dcinfo.
Ensure that the mach_acct and remote machine entries are
set correctly in struct dcinfo - we'll need this as a key
for a persistent schannel state later.
Jeremy.
(This used to be commit 47269b5c7161d740c2e86227de3acd9e08c53817)
2007-10-10 11:04:51 -05:00
Gerald Carter
54abd2aa66 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
(This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10 11:04:48 -05:00
Gerald Carter
1896d77fe5 r10585: variation of fix in trunk for root-free-pass in registry access checks
(This used to be commit b41f997a2a67f7dc60b300866b38f72846c600fb)
2007-10-10 11:04:47 -05:00
Jeremy Allison
c2e5ce1501 r10269: Server-side fix for creds change - revert jcmd's change.
Jeremy.
(This used to be commit e1c9813d63a441037bc71622a29acda099d72f71)
2007-10-10 11:03:40 -05:00
Gerald Carter
fbcaef3bf6 r10264: reverse order of 'root free pass' checks in service and registry access_checks()
(This used to be commit 35b338a4fc95c14629579336dcf3bd240fda92d3)
2007-10-10 11:03:39 -05:00
Gerald Carter
a9b96c6b3d r10221: add "free pass for root" in svcctl and default winreg access checks
(This used to be commit 24901187962e24bfa5ba7722aba0aeb9397ac7b6)
2007-10-10 11:03:38 -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 005d4cb3c636383ccf70c4891cd7cc4bd3b48ad2)
2007-10-10 11:03:29 -05:00
Günther Deschner
513e81458f r9945: fix typos.
Guenther
(This used to be commit 12029e902277053a4066eae1b3ae311fae5e6422)
2007-10-10 11:03:28 -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
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
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
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
e76107dd9b r9594: return the mapped name in enum_dom_groups()
(This used to be commit a769aaec88257ae006c61f0fcfd98efd4b639268)
2007-10-10 11:03:22 -05:00
Tim Potter
021892a6ce r9276: Fix another unused variable warning. Bugzilla #2981.
(This used to be commit abe2ab72e6b1d53dbe04d02882e4fee9cb34dec7)
2007-10-10 11:00:30 -05:00
Tim Potter
36115e7ebc r9275: Remove some dead code. Bugzilla #2982.
(This used to be commit e1fc7d89c26b671e77c7cb14e03690091b671b1d)
2007-10-10 11:00:30 -05:00
Gerald Carter
d04c1efd0f r9264: fix valgrind invalid write error in enumprinterdata()
(This used to be commit bfebbc86fc0f90e580888da25006d8e5e50b6304)
2007-10-10 11:00:29 -05:00
Jim McDonough
dcf2200411 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)
2007-10-10 11:00:29 -05:00
Jim McDonough
d6403e7280 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)
2007-10-10 11:00:28 -05:00
Günther Deschner
3662fb6d3a 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)
2007-10-10 11:00:28 -05:00
Gerald Carter
fd6dde2161 r9195: setting log level to 2 instead of 0
(This used to be commit 3a633a509e8e8e5239d456960f3014172f1e4b3d)
2007-10-10 11:00:27 -05:00
Gerald Carter
617a99ec52 r9194: do not enumerate privileges when they are not enabled
(This used to be commit ff6e3464a2df7fd8a79da8f059a080934d9b3749)
2007-10-10 11:00:27 -05:00
Gerald Carter
e93b4cedc3 r9114: removing gratuitous debug messages
(This used to be commit c3e14230387d8644152cf7e1f612a7ca7ec6f583)
2007-10-10 11:00:26 -05:00
Jim McDonough
7fff6638fc r9112: Fix #2953 - credentials chain on DC gets out of sync with client when
NT_STATUS_NO_USER returned.  We were moving to the next step in the
chain when the client wasn't.  Only update when the user logs on.
(This used to be commit b01a3a4111f544eef5bd678237d07a82d1ce9c22)
2007-10-10 11:00:26 -05:00
Gerald Carter
6014bb000e r9098: fix another usrmgr.exe crash when viewing user properties at debuglevel 10
(This used to be commit f5756c2611df5a026d78f8acb229d7c25f1fd383)
2007-10-10 11:00:26 -05:00
Jeremy Allison
777422836c r9080: If we don't understand the auth, bind nak not pdu fault.
Should fix usermgr on W2K3 SP1.
Jeremy.
(This used to be commit 592ec9fbffc704761c6b29cfc795cf3af7d5fe38)
2007-10-10 11:00:25 -05:00
Günther Deschner
fdc2ab72f7 r9021: Fix smbd-crash bug in openprinter (found by samba4 smbtorture
RPC-SPOOLSS).

Guenther
(This used to be commit 06bfe789d54a12dfa3c46e9777f96ff7e162a9db)
2007-10-10 11:00:23 -05:00
Günther Deschner
3ada346cbe r8971: Fix querydispinfo (still need to look at enumdomusers) to allow to list
more then 511 users.

After the rewrite, the old NT_STATUS-semantics didn't fit any longer.

Guenther
(This used to be commit 690da51d835fd780b16d8ce6521957146c90da78)
2007-10-10 11:00:23 -05:00
Jeremy Allison
abb81cfe26 r8959: Make msdfs code talloc based. Fix leaks.
Jeremy.
(This used to be commit 076023df8ea7c0f03baf8102e55d347e05542c7b)
2007-10-10 11:00:22 -05:00
Jeremy Allison
a4cdedcc08 r8950: Fix one more mem leak found by Gunther.
Jeremy.
(This used to be commit 547c6ee0a965b425719cdb834dd5d68a3a3e7117)
2007-10-10 11:00:22 -05:00
Gerald Carter
191b5977d0 r8943: Fix segfault in enum_service_status
(This used to be commit 04a551f0a4d321f5e1a7af33468160e2c7839af8)
2007-10-10 11:00:21 -05:00
Tim Potter
235644680f r8941: Fix unused variable warning. Bugzilla #2940.
(This used to be commit 6d0aafa5990b1e56d046489e07cbfe85d258c53f)
2007-10-10 11:00:21 -05:00
Gerald Carter
57939971b4 r8916: should fix the valgrind invalid read of size 1 onthe
GetPrinterData("OSVersion") abartlet saw when browsing from
Vista client.
(This used to be commit b527b86ae80ebc0b6e7318ed31d44be985aa9af0)
2007-10-10 11:00:20 -05:00
Tim Potter
473cfa4c35 r8894: Fix a warning. Bugzilla #2939.
(This used to be commit 7648f6cef038dde7fdfbe157784f2fd5437218b0)
2007-10-10 11:00:19 -05:00
Jeremy Allison
8b2b177a8e r8805: Merge a duplicate struct. Get ready to support SPNEGO rpc binds.
Jeremy.
(This used to be commit fd6e342746edfda2f25df1ae0067d359b756e0cd)
2007-10-10 11:00:18 -05:00
Jeremy Allison
ae64b2f2aa r8617: Be very explicit if addprinterex is called that the "addprinter command"
must be defined in smb.conf.
Jeremy.
(This used to be commit 86f8368c997f0eece20724a0a7158832c66da9f7)
2007-10-10 11:00:13 -05:00
Tim Potter
99478cd59b r8573: Fix set but not used warning in srvsvc server-side code.
Another bugzilla (#2891) from Jason Mader.
(This used to be commit ae6b4df7fed2516c5236755f75300ec0d95c35b3)
2007-10-10 11:00:11 -05:00
Jeremy Allison
263a51cd62 r8564: Sometimes we're too dumb to live... Fix samr calls where we were
using USER_INFO_XX structs and functions where XX was sometimes
in hex and sometimes in decimal. Now it's all in decimal (should
be no functionality change).
Jeremy.
(This used to be commit 84651aca04cbcbf50ab2e78333cc9d9e49dd92f5)
2007-10-10 11:00:09 -05:00
Gerald Carter
6fe5451543 r8501: * disable printer handle object cache (was mostly used
for NT4 clients enumerating printer data on slow CPUs)
* fix pinter and secdesc record upgrade to normalize the key
  (rev'd printer tdb version)
* fixed problem that was normalizing the printername name field

in general, this should fix the issues upgrading print servers
from 3.0.14a to 3.0.20
(This used to be commit d07179de2f2a6eb1d13d0e25ac10de1a21475559)
2007-10-10 11:00:06 -05:00
Jim McDonough
e7c48884a5 r8432: Fix #2077 - login to trusted domain doesn't allow home drive map and login
scripts to be executed.

We were filling in our name as the server which processed the login, even
when it was done by a trusted DC.

Thanks to John Janosik <jpjanosi@us.ibm.com> for the fix.
(This used to be commit 0446319a3b8096df385978449ffaa231bc5cfd0c)
2007-10-10 11:00:05 -05:00
Gerald Carter
f2ff8bed26 r8326: factor out the delete printer code to a delete_printer_hook() for reuse
(This used to be commit 0689851a90fbd91ff30f6e2afc05d141f6ce082d)
2007-10-10 10:58:20 -05:00
Gerald Carter
e574081ad9 r8324: * initial cut at creating printers via the registry API
Need to add delete_key support
(This used to be commit 9a27f7181adca10f60c47d342a51dec34321e12b)
2007-10-10 10:58:19 -05:00
Gerald Carter
18609ce1af r8322: * get RegSetValue() working for printer subkey values
(not immediate values below the <printer name> key yet.
(This used to be commit a872ea5f0e29f7b585574a56b52a5eb44cb92278)
2007-10-10 10:58:19 -05:00
Jeremy Allison
af8a691db1 r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the torture
tests on this as it's very late NY time (just wanted to get this work
into the tree). I'll test this over the weekend....
Jerry - in looking at the difference between the two trees there
seem to be some printing/ntprinting.c and registry changes we might
want to examine to try keep in sync.
Jeremy.
(This used to be commit c7fe18761e2c753afbffd3a78abff46472a9b8eb)
2007-10-10 10:58:18 -05:00