r26627: param: Provide a call for loading the system smb.conf.
[metze/samba/wb-ndr.git] / source / 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. 
  *