1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

loadparm: remove services read from smb.conf when starting over for config backend registry.

Michael
(This used to be commit b942ff6b7f)
This commit is contained in:
Michael Adam 2008-03-12 00:56:33 +01:00
parent 90fd5082a2
commit 7af7afc594

View File

@ -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);
}