diff options
author | Günther Deschner <gd@samba.org> | 2007-12-21 23:04:26 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2007-12-21 23:05:10 +0100 |
commit | 3f5d5bc300cc3061bc7066b8b48b68b2b5d55c5d (patch) | |
tree | 692581fc6bb8d0fa517a45937f464dfb49e6ed63 | |
parent | 9df2075170769bcbdb0290eec5ea98d922cfb823 (diff) | |
download | samba-3f5d5bc300cc3061bc7066b8b48b68b2b5d55c5d.tar.gz samba-3f5d5bc300cc3061bc7066b8b48b68b2b5d55c5d.tar.bz2 samba-3f5d5bc300cc3061bc7066b8b48b68b2b5d55c5d.zip |
Until we better understand the WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT make sure we are
not joining as a DC.
Guenther
(This used to be commit bf3ffbb5d2e8588e0041f0b890b590c58f8fcecf)
-rw-r--r-- | source3/libnet/libnet_join.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index b1ebed3e15..c1ff8bb052 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/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); |