summaryrefslogtreecommitdiffstats
path: root/lib/param/loadparm.c
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-28 13:19:16 +1300
committerAndrew Bartlett <abartlet@samba.org>2014-07-07 23:32:36 +0200
commit288e29b7a9eeee59e85d0b26ca66dd1fc770c6a6 (patch)
treee4491d1e3b32f9832aa120a4d93e0ae5ae8057bd /lib/param/loadparm.c
parent090fb5a517377a5156f299799fadcd6ae7613f42 (diff)
downloadsamba-288e29b7a9eeee59e85d0b26ca66dd1fc770c6a6.tar.gz
samba-288e29b7a9eeee59e85d0b26ca66dd1fc770c6a6.tar.xz
samba-288e29b7a9eeee59e85d0b26ca66dd1fc770c6a6.zip
param: set the flags on a s3 loadparm context
By setting up the flags when we initialize the context, the flags can be accessed by lib/param at any time. Change-Id: I60d4f3a9108560e204cf5f37da9c7d995939e146 Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
Diffstat (limited to 'lib/param/loadparm.c')
-rw-r--r--lib/param/loadparm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index 7e37e3507e..12a5bd13e4 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -2619,6 +2619,8 @@ struct loadparm_context *loadparm_init_s3(TALLOC_CTX *mem_ctx,
}
loadparm_context->s3_fns = s3_fns;
loadparm_context->globals = s3_fns->globals;
+ loadparm_context->flags = s3_fns->flags;
+
return loadparm_context;
}