From 214ef25235eb51834675e0fd3ed0052aa171c40f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 30 Jul 2014 16:53:59 +0200 Subject: [PATCH] s3:smbd: use lp_load_with_shares() in reload_services(). Signed-off-by: Michael Adam Reviewed-by: Ira Cooper --- source3/smbd/server_reload.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source3/smbd/server_reload.c b/source3/smbd/server_reload.c index e1b62d15e48..c93c0774979 100644 --- a/source3/smbd/server_reload.c +++ b/source3/smbd/server_reload.c @@ -143,11 +143,7 @@ bool reload_services(struct smbd_server_connection *sconn, lp_killunused(sconn, snumused); - ret = lp_load(get_dyn_CONFIGFILE(), - false, /* global only */ - false, /* save defaults */ - true, /* add_ipc */ - true); /* initialize globals */ + ret = lp_load_with_shares(get_dyn_CONFIGFILE()); /* perhaps the config filename is now set */ if (!test) {