diff options
author | Günther Deschner <gd@samba.org> | 2004-10-06 16:21:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:54 -0500 |
commit | 132879b285e66bff896c761858311d7f5d43e9b6 (patch) | |
tree | 106c6b70d2c93f2c8dbdecae2cc7f60d7da098a5 /source3/utils/net.c | |
parent | 4fd4aa1152732311178f1b1c70880d9efeccbaf6 (diff) | |
download | samba-132879b285e66bff896c761858311d7f5d43e9b6.tar.gz samba-132879b285e66bff896c761858311d7f5d43e9b6.tar.bz2 samba-132879b285e66bff896c761858311d7f5d43e9b6.zip |
r2832: Readd WKGUID-binding to match the correct default-locations of new
User-, Group- and Machine-Accounts in Active Directory (this got lost
during the last trunk-merge).
This way we match e.g. default containers moved by redircmp.exe and
redirusr.exe in Windows 2003 and don't blindly default to cn=Users or
cn=Computers.
Further wkguids can be examied via "net ads search wellknownobjects=*".
This should still keep a samba3-client joining a samba4 dc. Fixes
Bugzilla #1343.
Guenther
(This used to be commit 8836621694c95779475fa9a1acf158e5e0577288)
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r-- | source3/utils/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index da1339aed1..2bf8ac286d 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -69,7 +69,7 @@ int opt_port = 0; int opt_verbose = 0; int opt_maxusers = -1; const char *opt_comment = ""; -const char *opt_container = "cn=Users"; +const char *opt_container = NULL; int opt_flags = -1; int opt_timeout = 0; const char *opt_target_workgroup = NULL; |