bool lp_load_global_no_reinit(const char *file_name);
bool lp_load_client_no_reinit(const char *file_name);
bool lp_load_with_registry_shares(const char *pszFname,
- bool global_only,
bool save_defaults,
bool add_ipc,
bool initialize_globals);
}
bool lp_load_with_registry_shares(const char *pszFname,
- bool global_only,
bool save_defaults,
bool add_ipc,
bool initialize_globals)
{
return lp_load_ex(pszFname,
- global_only,
+ false, /* global_only */
save_defaults,
add_ipc,
initialize_globals,
for (i=0; i < count; i++) {
printf("call lp_load() #%d: ", i+1);
if (!lp_load_with_registry_shares(config_file,
- False, /* global only */
True, /* save defaults */
False, /*add_ipc */
True)) /*init globals */
setlinebuf(stdout);
- lp_load_with_registry_shares( get_dyn_CONFIGFILE(), False, False, False,
- True );
+ lp_load_with_registry_shares(get_dyn_CONFIGFILE(), False, False, True);
/* check for initializing secrets.tdb first */
fprintf(stderr,"Load smb config files from %s\n",config_file);
- if (!lp_load_with_registry_shares(config_file,False,True,False,True)) {
+ if (!lp_load_with_registry_shares(config_file, True, False, True)) {
fprintf(stderr,"Error loading services.\n");
ret = 1;
goto done;