summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-29 18:14:12 -0600
committerStefan Metzmacher <metze@samba.org>2007-12-29 12:21:04 -0600
commitac65321a46e93dbcfb95a4ec6361e7451e12d64c (patch)
treefd7d86645e2e75144eb4810b5a021eb76540c4cb /source4/param
parentc4a5c61a70c52f7942232740144f9425946705af (diff)
downloadsamba-ac65321a46e93dbcfb95a4ec6361e7451e12d64c.tar.gz
samba-ac65321a46e93dbcfb95a4ec6361e7451e12d64c.tar.bz2
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.c5
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.
*