1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

s3: smbd: Use state->case_preserve instead of state->conn->case_preserve.

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2021-10-15 12:07:05 -07:00 committed by Ralph Boehme
parent 2910657694
commit 598c07b106

View File

@ -626,7 +626,7 @@ static NTSTATUS unix_convert_step_search_fail(struct uc_state *state)
* purposes. Fix inspired by
* Thomas Neumann <t.neumann@iku-ag.de>.
*/
if (!state->conn->case_preserve ||
if (!state->case_preserve ||
(mangle_is_8_3(state->name, false,
state->conn->params) &&
!state->conn->short_case_preserve)) {