mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
s3: smbd: Add case_sensitive, case_preserve, short_case_preserve to state struct.
Not yet used. This allows them to be independent of conn settings on a handle-basis for posix. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
b460c53427
commit
35ee8a7b6c
@ -540,6 +540,9 @@ struct uc_state {
|
||||
bool posix_pathnames;
|
||||
bool allow_wcard_last_component;
|
||||
bool done;
|
||||
bool case_sensitive;
|
||||
bool case_preserve;
|
||||
bool short_case_preserve;
|
||||
};
|
||||
|
||||
static NTSTATUS unix_convert_step_search_fail(struct uc_state *state)
|
||||
@ -977,6 +980,9 @@ NTSTATUS unix_convert(TALLOC_CTX *mem_ctx,
|
||||
.ucf_flags = ucf_flags,
|
||||
.posix_pathnames = (ucf_flags & UCF_POSIX_PATHNAMES),
|
||||
.allow_wcard_last_component = (ucf_flags & UCF_ALWAYS_ALLOW_WCARD_LCOMP),
|
||||
.case_sensitive = conn->case_sensitive,
|
||||
.case_preserve = conn->case_preserve,
|
||||
.short_case_preserve = conn->short_case_preserve,
|
||||
};
|
||||
|
||||
*smb_fname_out = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user