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:
parent
90fd5082a2
commit
7af7afc594
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user