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

s3:libnet_join: use lp_load_global() wrapper of lp_load()

This commit is contained in:
Michael Adam 2011-07-27 16:31:02 +02:00
parent 88ee6973f0
commit 74b806c888

View File

@ -1576,7 +1576,7 @@ static WERROR do_JoinConfig(struct libnet_JoinCtx *r)
return werr;
}
lp_load(get_dyn_CONFIGFILE(),true,false,false,true);
lp_load_global(get_dyn_CONFIGFILE());
r->out.modified_config = true;
r->out.result = werr;
@ -1604,7 +1604,7 @@ static WERROR libnet_unjoin_config(struct libnet_UnjoinCtx *r)
return werr;
}
lp_load(get_dyn_CONFIGFILE(),true,false,false,true);
lp_load_global(get_dyn_CONFIGFILE());
r->out.modified_config = true;
r->out.result = werr;