r26627: param: Provide a call for loading the system smb.conf.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 30 Dec 2007 00:14:12 +0000 (18:14 -0600)
committerStefan Metzmacher <metze@samba.org>
Sat, 29 Dec 2007 18:21:04 +0000 (12:21 -0600)
(This used to be commit 2596b479abc8e0d1c064e1d191f2d1c894252f3d)

source4/param/loadparm.c

index 51d4beb0ae994b77302c1150dafb239c0b199eda..66bb44dc3cbdfa14c78cec60d316c56d61763599 100644 (file)
@@ -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. 
  *