WKSSVC: In _wkssvc_NetrJoinDomain2, do modify the local configuration if enabled.
[ira/wip.git] / source3 / rpc_server / srv_wkssvc_nt.c
index 32d315f96f95a6aec234a8e7e46b36f419c57a32..71f1960a67d6a68b5653859fc6ea5016565efee0 100644 (file)
@@ -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);