summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 5c6cd071b7..e45c8b89b7 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8868,6 +8868,21 @@ bool lp_load_initial_only(const char *pszFname)
false);
}
+bool lp_load_with_registry_shares(const char *pszFname,
+ bool global_only,
+ bool save_defaults,
+ bool add_ipc,
+ bool initialize_globals)
+{
+ return lp_load_ex(pszFname,
+ global_only,
+ save_defaults,
+ add_ipc,
+ initialize_globals,
+ true,
+ true);
+}
+
/***************************************************************************
Reset the max number of services.
***************************************************************************/