git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d847f62
)
s4-param: Use s3 dump method if s3 context is defined
author
Amitay Isaacs
<amitay@gmail.com>
Mon, 22 Aug 2011 06:32:03 +0000
(16:32 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 26 Aug 2011 00:06:32 +0000
(10:06 +1000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source4/param/loadparm.c
b/source4/param/loadparm.c
index 74c05505222fea9c03fda6a5f4eeeaec46ec2fda..e4f1c8598d44622fd3bb4987796ffa788958bd54 100644
(file)
--- 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;
{
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);
defaults_saved = !show_defaults;
dump_globals(lp_ctx, f, show_defaults);