summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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.
*