diff options
author | Amitay Isaacs <amitay@gmail.com> | 2011-08-22 16:32:03 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-26 10:06:32 +1000 |
commit | b5da5f7379d5efeb3828841ccb6d07ed821817cd (patch) | |
tree | 65c167b3ba18c55348de8873295da85b1c6e7788 | |
parent | d847f62161cbb4a2b5fe7f1c1105ff2e478e4858 (diff) | |
download | samba-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>
-rw-r--r-- | source4/param/loadparm.c | 4 |
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); |