summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-07-30 16:43:05 +0200
committerIra Cooper <ira@samba.org>2015-04-22 13:57:29 +0200
commite197ddcfa62b4aa1e9930e65e1bc436ff5a467f7 (patch)
treef03a2b434e457116e2968879eeb8ca56de765627 /source3
parent2f889f7951b7ef1b60a826d42c9a113860e245a2 (diff)
downloadsamba-e197ddcfa62b4aa1e9930e65e1bc436ff5a467f7.tar.gz
s3:lsasd: use lp_load() wrapper lp_load_global()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/lsasd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/lsasd.c b/source3/rpc_server/lsasd.c
index 375f4097c58..42d91fdef0e 100644
--- a/source3/rpc_server/lsasd.c
+++ b/source3/rpc_server/lsasd.c
@@ -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,