summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-12 00:56:33 +0100
committerMichael Adam <obnox@samba.org>2008-03-12 02:12:34 +0100
commit7af7afc59425d2480f220298e09b51e7647ec510 (patch)
treeea9d4db8e99b109ed9c899b7ce53239da8c68a9b /source3/param/loadparm.c
parent90fd5082a2084cf2436105938b47591cce6a9f82 (diff)
downloadsamba-7af7afc59425d2480f220298e09b51e7647ec510.tar.gz
samba-7af7afc59425d2480f220298e09b51e7647ec510.tar.bz2
samba-7af7afc59425d2480f220298e09b51e7647ec510.zip
loadparm: remove services read from smb.conf when starting over for config backend registry.
Michael (This used to be commit b942ff6b7f0be4898e05525558b354533dea312b)
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index f02607f875..05eece72b0 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8716,6 +8716,7 @@ bool lp_load(const char *pszFname,
config_backend = CONFIG_BACKEND_REGISTRY;
/* start over */
init_globals(false);
+ lp_kill_all_services();
return lp_load(pszFname, global_only, save_defaults,
add_ipc, initialize_globals);
}