mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:libnet_join: use lp_load_global() wrapper of lp_load()
This commit is contained in:
parent
88ee6973f0
commit
74b806c888
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user