summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-27 16:31:02 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:31 +0200
commit74b806c88819270282a3a3d34d66d3657a1e4f9e (patch)
treec951c96c406a6356a6a329f0313fe79213d44efe /source3/libnet
parent88ee6973f0bf5d5e5f6f9552ce065e109663828e (diff)
downloadsamba-74b806c88819270282a3a3d34d66d3657a1e4f9e.tar.gz
samba-74b806c88819270282a3a3d34d66d3657a1e4f9e.tar.bz2
samba-74b806c88819270282a3a3d34d66d3657a1e4f9e.zip
s3:libnet_join: use lp_load_global() wrapper of lp_load()
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_join.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 1532299375..599899503c 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -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;