1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:smbd: use lp_load_with_shares() in reload_services().

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:53:59 +02:00 committed by Ira Cooper
parent df7677cf7d
commit 214ef25235

View File

@ -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) {