mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
smbd: Fix case normalization in for directories
Bug: https://bugzilla.samba.org/show_bug.cgi?id=15313 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Feb 24 08:46:14 UTC 2023 on atb-devel-224 (cherry picked from commit bf9130d375b6c401bb79fc1a0911975814759e3b) Autobuild-User(v4-17-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-17-test): Tue Apr 11 16:28:13 UTC 2023 on sn-devel-184
This commit is contained in:
parent
d7d81510c3
commit
d8fa74a176
@ -1153,6 +1153,14 @@ static NTSTATUS filename_convert_dirfsp_nosymlink(
|
||||
char *substitute = NULL;
|
||||
size_t unparsed = 0;
|
||||
|
||||
status = normalize_filename_case(conn, dirname, ucf_flags);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DBG_ERR("normalize_filename_case %s failed: %s\n",
|
||||
dirname,
|
||||
nt_errstr(status));
|
||||
goto fail;
|
||||
}
|
||||
|
||||
status = openat_pathref_dirfsp_nosymlink(
|
||||
mem_ctx,
|
||||
conn,
|
||||
|
Loading…
x
Reference in New Issue
Block a user