1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

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)
This commit is contained in:
Günther Deschner 2007-12-21 23:04:26 +01:00
parent 9df2075170
commit 3f5d5bc300

View File

@ -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);