WKSSVC: In _wkssvc_NetrJoinDomain2, do modify the local configuration if enabled.
authorGünther Deschner <gd@samba.org>
Mon, 14 Apr 2008 12:46:30 +0000 (14:46 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 14 Apr 2008 12:46:30 +0000 (14:46 +0200)
Guenther
(This used to be commit 260efafb8fb6527eb0a182f9a6bfed8239dd8315)

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.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);
 
        become_root();
        werr = libnet_Join(p->mem_ctx, j);