mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
winbind: set logfile after reloading config
lp_load_global() will overwrite whatever we've set with lp_set_logfile(). BUG: https://bugzilla.samba.org/show_bug.cgi?id=14602 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
81edc65e79
commit
0c4497f8c6
@ -118,15 +118,15 @@ bool winbindd_reload_services_file(const char *lfile)
|
||||
TALLOC_FREE(fname);
|
||||
}
|
||||
|
||||
reopen_logs();
|
||||
ret = lp_load_global(get_dyn_CONFIGFILE());
|
||||
|
||||
/* if this is a child, restore the logfile to the special
|
||||
name - <domain>, idmap, etc. */
|
||||
if (lfile && *lfile) {
|
||||
lp_set_logfile(lfile);
|
||||
}
|
||||
|
||||
reopen_logs();
|
||||
ret = lp_load_global(get_dyn_CONFIGFILE());
|
||||
|
||||
reopen_logs();
|
||||
load_interfaces();
|
||||
winbindd_setup_max_fds();
|
||||
|
Loading…
x
Reference in New Issue
Block a user