summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/param/loadparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 74c0550522..e4f1c8598d 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -3589,6 +3589,10 @@ void lpcfg_dump(struct loadparm_context *lp_ctx, FILE *f, bool show_defaults,
{
int iService;
+ if (lp_ctx->s3_fns) {
+ return lp_ctx->s3_fns->dump(f, show_defaults, maxtoprint);
+ }
+
defaults_saved = !show_defaults;
dump_globals(lp_ctx, f, show_defaults);