NetrUnjoinDomain2: Honor registry config to try config changes.
authorGünther Deschner <gd@samba.org>
Wed, 16 Apr 2008 21:59:43 +0000 (23:59 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 16 Apr 2008 22:08:24 +0000 (00:08 +0200)
Guenther
(This used to be commit b42304c299224238a0247e0e1561eb2ad3217b96)

source3/rpc_server/srv_wkssvc_nt.c

index 71f1960a67d6a68b5653859fc6ea5016565efee0..3c006fd65543df538feb540e10963c95819c655d 100644 (file)
@@ -406,6 +406,7 @@ WERROR _wkssvc_NetrUnjoinDomain2(pipes_struct *p,
        u->in.admin_account     = admin_account;
        u->in.admin_password    = cleartext_pwd;
        u->in.debug             = true;
        u->in.admin_account     = admin_account;
        u->in.admin_password    = cleartext_pwd;
        u->in.debug             = true;
+       u->in.modify_config     = lp_config_backend_is_registry();
 
        become_root();
        werr = libnet_Unjoin(p->mem_ctx, u);
 
        become_root();
        werr = libnet_Unjoin(p->mem_ctx, u);