1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3:param: let lp_load_global() call lp_load(), not lp_load_ex().

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
This commit is contained in:
Michael Adam 2014-07-30 16:47:40 +02:00 committed by Ira Cooper
parent e197ddcfa6
commit 8f2c5fd84f

View File

@ -3830,13 +3830,11 @@ bool lp_load_initial_only(const char *pszFname)
*/
bool lp_load_global(const char *file_name)
{
return lp_load_ex(file_name,
true, /* global_only */
false, /* save_defaults */
false, /* add_ipc */
true, /* initialize_globals */
true, /* allow_include_registry */
false); /* load_all_shares*/
return lp_load(file_name,
true, /* global_only */
false, /* save_defaults */
false, /* add_ipc */
true); /* initialize_globals */
}
/**