s3:lsasd: use lp_load() wrapper lp_load_global()
authorMichael Adam <obnox@samba.org>
Wed, 30 Jul 2014 14:43:05 +0000 (16:43 +0200)
committerIra Cooper <ira@samba.org>
Wed, 22 Apr 2015 11:57:29 +0000 (13:57 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
source3/rpc_server/lsasd.c

index 375f4097c584ccc3ac2029b584da4f3f564317b9..42d91fdef0efaa4a1cfea534bcdf1f045323a5bd 100644 (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,