mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user