From 2596b479abc8e0d1c064e1d191f2d1c894252f3d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 29 Dec 2007 18:14:12 -0600 Subject: [PATCH] r26627: param: Provide a call for loading the system smb.conf. --- source/param/loadparm.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/param/loadparm.c b/source/param/loadparm.c index 51d4beb0ae9..66bb44dc3cb 100644 --- a/source/param/loadparm.c +++ b/source/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. * -- 2.34.1