summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-08-22 16:32:03 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-26 10:06:32 +1000
commitb5da5f7379d5efeb3828841ccb6d07ed821817cd (patch)
tree65c167b3ba18c55348de8873295da85b1c6e7788 /source4/param
parentd847f62161cbb4a2b5fe7f1c1105ff2e478e4858 (diff)
downloadsamba-b5da5f7379d5efeb3828841ccb6d07ed821817cd.tar.gz
samba-b5da5f7379d5efeb3828841ccb6d07ed821817cd.tar.bz2
samba-b5da5f7379d5efeb3828841ccb6d07ed821817cd.zip
s4-param: Use s3 dump method if s3 context is defined
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/param')
-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);