From: Jeremy Allison Date: Fri, 15 Oct 2021 19:08:25 +0000 (-0700) Subject: s3: smbd: Use state->short_case_preserve instead of state->conn->short_case_preserve. X-Git-Tag: ldb-2.5.0~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4354571d615c5b6ea64ed20cb880049c1b49053;p=thirdparty%2Fsamba.git s3: smbd: Use state->short_case_preserve instead of state->conn->short_case_preserve. No logic changes. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 333eb24c50d..d0a2f03fc45 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -629,7 +629,7 @@ static NTSTATUS unix_convert_step_search_fail(struct uc_state *state) if (!state->case_preserve || (mangle_is_8_3(state->name, false, state->conn->params) && - !state->conn->short_case_preserve)) { + !state->short_case_preserve)) { if (!strnorm(state->name, lp_default_case(SNUM(state->conn)))) { DBG_DEBUG("strnorm %s failed\n",