diff options
author | Jeremy Allison <jra@samba.org> | 2021-11-05 16:53:26 -0700 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2021-11-16 20:21:37 +0000 |
commit | 1240f741e6672a0bef036c8d1b1f89507ec0b599 (patch) | |
tree | 7a3029a056d3b89604df7946bea3b6df973852b5 | |
parent | 1cc5a394209f018f4c41d07bc0c790fb2bd5b29e (diff) | |
download | samba-1240f741e6672a0bef036c8d1b1f89507ec0b599.tar.gz |
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 <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |