From: Jeremy Allison Date: Fri, 5 Nov 2021 23:53:26 +0000 (-0700) Subject: s3: smbd: Add 'bool case_sensitive' to struct smbd_dirptr_lanman2_state. X-Git-Tag: ldb-2.5.0~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1240f741e6672a0bef036c8d1b1f89507ec0b599;p=thirdparty%2Fsamba.git s3: smbd: Add 'bool case_sensitive' to struct smbd_dirptr_lanman2_state. Initialize from conn->case_sensitive. Not yet used. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index b0fb02b7c78..6a7c4a09a14 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -1589,6 +1589,7 @@ struct smbd_dirptr_lanman2_state { bool check_mangled_names; bool has_wild; bool got_exact_match; + bool case_sensitive; }; static bool smbd_dirptr_lanman2_match_fn(TALLOC_CTX *ctx, @@ -2482,6 +2483,7 @@ NTSTATUS smbd_dirptr_lanman2_entry(TALLOC_CTX *ctx, } state.has_wild = dptr_has_wild(dirptr); state.got_exact_match = false; + state.case_sensitive = conn->case_sensitive; *got_exact_match = false;