git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abba671
)
Until we better understand the WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT make sure we are
author
Günther Deschner
<gd@samba.org>
Fri, 21 Dec 2007 22:04:26 +0000
(23:04 +0100)
committer
Günther Deschner
<gd@samba.org>
Fri, 21 Dec 2007 22:05:10 +0000
(23:05 +0100)
not joining as a DC.
Guenther
source/libnet/libnet_join.c
patch
|
blob
|
history
diff --git
a/source/libnet/libnet_join.c
b/source/libnet/libnet_join.c
index b1ebed3e1525d1ff77d1c8ef226d1169247bece8..c1ff8bb0522c5084b86618dc83a74f9ecd792e2a 100644
(file)
--- a/
source/libnet/libnet_join.c
+++ b/
source/libnet/libnet_join.c
@@
-530,6
+530,10
@@
WERROR libnet_Join(TALLOC_CTX *mem_ctx,
return WERR_NOT_SUPPORTED;
}
+ if (IS_DC) {
+ return WERR_SETUP_DOMAIN_CONTROLLER;
+ }
+
if (r->in.join_flags & WKSSVC_JOIN_FLAGS_JOIN_TYPE) {
status = do_DomainJoin(mem_ctx, r);