diff options
author | Michael Adam <obnox@samba.org> | 2011-07-27 00:25:59 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-07-28 11:17:30 +0200 |
commit | 2c3a1f44fafaacde5f966ebd646e3aa1dc20468e (patch) | |
tree | d0b60e948db6dc4911630cdab10f2334b5deb9fc /source3/lib/netapi | |
parent | c2aa8e5d6377481cec6f36fea8d3165c5d99e098 (diff) | |
download | samba-2c3a1f44fafaacde5f966ebd646e3aa1dc20468e.tar.gz samba-2c3a1f44fafaacde5f966ebd646e3aa1dc20468e.tar.bz2 samba-2c3a1f44fafaacde5f966ebd646e3aa1dc20468e.zip |
s3:libnetapi: use lp_load_global()
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r-- | source3/lib/netapi/netapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/netapi.c b/source3/lib/netapi/netapi.c index 14259864ae..a4a8e447c1 100644 --- a/source3/lib/netapi/netapi.c +++ b/source3/lib/netapi/netapi.c @@ -77,7 +77,7 @@ NET_API_STATUS libnetapi_init(struct libnetapi_ctx **context) lp_set_cmdline("log level", "0"); setup_logging("libnetapi", DEBUG_STDERR); - if (!lp_load(get_dyn_CONFIGFILE(), true, false, false, true)) { + if (!lp_load_global(get_dyn_CONFIGFILE())) { TALLOC_FREE(frame); fprintf(stderr, "error loading %s\n", get_dyn_CONFIGFILE() ); return W_ERROR_V(WERR_GENERAL_FAILURE); |