smbd: unix_convert: Ensure we don't call get_real_filename on POSIX paths.
authorJeremy Allison <jra@samba.org>
Sat, 23 Feb 2019 20:24:31 +0000 (12:24 -0800)
committerKarolin Seeger <kseeger@samba.org>
Tue, 5 Mar 2019 19:29:14 +0000 (19:29 +0000)
commit179db55a3bb601e400d932955087da0dc6acee17
tree32cdb1ec08c1034dcdcbf06812f62cd2c9d43f27
parent230c557e2f741136d418fa227d2dddd26d243b9a
smbd: unix_convert: Ensure we don't call get_real_filename on POSIX paths.

For posix_pathnames don't blunder into the name_has_wildcard OR
get_real_filename() codepaths as they may be doing case insensitive lookups.
So when creating a new POSIX directory 'Foo' they might
match on name 'foo'.

Remove POSIX-MKDIR from knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13803

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Sun Feb 24 14:04:14 CET 2019 on sn-devel-144

(cherry picked from commit 12da33e2bbce657f25abe9bc4cb936ca4615b30f)
selftest/knownfail
source3/smbd/filename.c