diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-29 18:14:12 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-29 12:21:04 -0600 |
commit | ac65321a46e93dbcfb95a4ec6361e7451e12d64c (patch) | |
tree | fd7d86645e2e75144eb4810b5a021eb76540c4cb /source4/param | |
parent | c4a5c61a70c52f7942232740144f9425946705af (diff) | |
download | samba-ac65321a46e93dbcfb95a4ec6361e7451e12d64c.tar.gz samba-ac65321a46e93dbcfb95a4ec6361e7451e12d64c.tar.xz samba-ac65321a46e93dbcfb95a4ec6361e7451e12d64c.zip |
r26627: param: Provide a call for loading the system smb.conf.
(This used to be commit 2596b479abc8e0d1c064e1d191f2d1c894252f3d)
Diffstat (limited to 'source4/param')
-rw-r--r-- | source4/param/loadparm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 51d4beb0ae..66bb44dc3c 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -2421,6 +2421,11 @@ const char *lp_configfile(struct loadparm_context *lp_ctx) return lp_ctx->szConfigFile; } +bool lp_load_default(struct loadparm_context *lp_ctx) +{ + return lp_load(lp_ctx, dyn_CONFIGFILE); +} + /** * Load the services array from the services file. * |