mirror of
https://github.com/samba-team/samba.git
synced 2025-07-23 20:59:10 +03:00
s3:param: pass down lp_ctx in handle include
Currently the lp_ctx will never actually be used as it will still go through the current s3 code. Change-Id: Iff236aea79b2294deb8faf175c7425d075a0f4c4 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:
committed by
Andrew Bartlett
parent
76001abf74
commit
9f519cabfa
@ -2409,7 +2409,7 @@ bool lp_include(struct loadparm_context *lp_ctx, int snum, const char *pszParmVa
|
||||
if (file_exist(fname)) {
|
||||
bool ret;
|
||||
include_depth++;
|
||||
ret = pm_process(fname, lp_do_section, do_parameter, NULL);
|
||||
ret = pm_process(fname, lp_do_section, do_parameter, lp_ctx);
|
||||
include_depth--;
|
||||
TALLOC_FREE(fname);
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user