summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_wkssvc_nt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_wkssvc_nt.c b/source3/rpc_server/srv_wkssvc_nt.c
index 32d315f96f..71f1960a67 100644
--- a/source3/rpc_server/srv_wkssvc_nt.c
+++ b/source3/rpc_server/srv_wkssvc_nt.c
@@ -340,6 +340,7 @@ WERROR _wkssvc_NetrJoinDomain2(pipes_struct *p,
j->in.admin_account = admin_account;
j->in.admin_password = cleartext_pwd;
j->in.debug = true;
+ j->in.modify_config = lp_config_backend_is_registry();
become_root();
werr = libnet_Join(p->mem_ctx, j);