1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

s3:lsasd: use lp_load() wrapper lp_load_global()

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:43:05 +02:00 committed by Ira Cooper
parent 2f889f7951
commit e197ddcfa6

View File

@ -116,7 +116,7 @@ static void lsasd_smb_conf_updated(struct messaging_context *msg,
ev_ctx = talloc_get_type_abort(private_data, struct tevent_context);
change_to_root_user();
lp_load(get_dyn_CONFIGFILE(), true, false, false, true);
lp_load_global(get_dyn_CONFIGFILE());
lsasd_reopen_logs(lsasd_child_id);
if (lsasd_child_id == 0) {
@ -166,7 +166,7 @@ static void lsasd_sig_hup_handler(struct tevent_context *ev,
{
change_to_root_user();
lp_load(get_dyn_CONFIGFILE(), true, false, false, true);
lp_load_global(get_dyn_CONFIGFILE());
lsasd_reopen_logs(lsasd_child_id);
pfh_daemon_config(DAEMON_NAME,