1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

Do an explicit init_globals() when restarting for "config backend = registry".

Michael
(This used to be commit 487c43f9284598a3c60b06fc60e5c50844e11b87)
This commit is contained in:
Michael Adam 2008-01-18 16:06:37 +01:00
parent 6c5a831e96
commit 536bff4229

View File

@ -5725,6 +5725,7 @@ bool lp_load(const char *pszFname,
*/
config_backend = CONFIG_BACKEND_REGISTRY;
/* start over */
init_globals(false);
return lp_load(pszFname, global_only, save_defaults,
add_ipc, initialize_globals);
}