1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

param: store the flags_list in the s3 lp context used for special

Special function needs the flag list.

Change-Id: I3c2f118704026913021e4399e89cc3583de9a743
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
This commit is contained in:
Garming Sam 2014-02-28 11:32:24 +13:00 committed by Andrew Bartlett
parent c76a8a1ba5
commit 86284815fa

View File

@ -2651,6 +2651,7 @@ bool lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue
lp_ctx->sDefault = &sDefault;
lp_ctx->services = ServicePtrs;
lp_ctx->bInGlobalSection = bInGlobalSection;
lp_ctx->flags = flags_list;
ok = parm_table[parmnum].special(lp_ctx, snum, pszParmValue,
(char **)parm_ptr);
TALLOC_FREE(frame);