summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-14 14:46:30 +0200
committerGünther Deschner <gd@samba.org>2008-04-14 14:46:30 +0200
commite23911b0c30ef6dced054dac3518a99691a7c917 (patch)
treef8d970931fdf2392d6680fcca9006f9543c022bc /source3
parenta4e0f60c4ed3bb818166c9e6341b25a40f1f9ab8 (diff)
downloadsamba-e23911b0c30ef6dced054dac3518a99691a7c917.tar.gz
samba-e23911b0c30ef6dced054dac3518a99691a7c917.tar.bz2
samba-e23911b0c30ef6dced054dac3518a99691a7c917.zip
WKSSVC: In _wkssvc_NetrJoinDomain2, do modify the local configuration if enabled.
Guenther (This used to be commit 260efafb8fb6527eb0a182f9a6bfed8239dd8315)
Diffstat (limited to 'source3')
-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);