summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-16 23:59:43 +0200
committerGünther Deschner <gd@samba.org>2008-04-17 00:08:24 +0200
commit189c0153e02bcab5769227ae362c81fa6f4a91e2 (patch)
tree57c82ecfa434b96b528e5b9a338eaa50c531e4a4 /source3/rpc_server
parentf466e53b64fffa34b3af33f0380ece5886db5c91 (diff)
downloadsamba-189c0153e02bcab5769227ae362c81fa6f4a91e2.tar.gz
samba-189c0153e02bcab5769227ae362c81fa6f4a91e2.tar.bz2
samba-189c0153e02bcab5769227ae362c81fa6f4a91e2.zip
NetrUnjoinDomain2: Honor registry config to try config changes.
Guenther (This used to be commit b42304c299224238a0247e0e1561eb2ad3217b96)
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 71f1960a67..3c006fd655 100644
--- a/source3/rpc_server/srv_wkssvc_nt.c
+++ b/source3/rpc_server/srv_wkssvc_nt.c
@@ -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.modify_config = lp_config_backend_is_registry();
become_root();
werr = libnet_Unjoin(p->mem_ctx, u);