smbd: implement SMB_FILE_NORMALIZED_NAME_INFORMATION handling
commitb20fd15e04ce9292f90a7f70f4184e43034b4b9d
authorStefan Metzmacher <metze@samba.org>
Thu, 25 Apr 2019 12:57:33 +0000 (25 14:57 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 1 May 2019 18:33:00 +0000 (1 18:33 +0000)
tree1b7eec6324bea17364b62f9edc94b3dca7eb0405
parent8a5828de2bdd95223e5f30996d0490fef53742dd
smbd: implement SMB_FILE_NORMALIZED_NAME_INFORMATION handling

Windows 10 (1803 and higher) support and use
SMB_FILE_NORMALIZED_NAME_INFORMATION calls over the network. As a
fallback (in case the server don't support it) the client traverses all
path components, which is very expensive.

Implementing SMB_FILE_NORMALIZED_NAME_INFORMATION is very cheap for us
as the open already went through unix_convert() and we have the
information the client is asking for.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed May  1 18:33:00 UTC 2019 on sn-devel-184
selftest/knownfail.d/smb2-getinfo [deleted file]
source3/smbd/smb2_getinfo.c
source3/smbd/trans2.c