mirror of
https://github.com/samba-team/samba.git
synced 2025-08-31 22:02:58 +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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user