smbd: implement SMB_FILE_NORMALIZED_NAME_INFORMATION handling
commit7db0d1a7646d6662df0e44cabad90d021e300305
authorStefan Metzmacher <metze@samba.org>
Thu, 25 Apr 2019 12:57:33 +0000 (25 14:57 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 17 May 2019 07:18:29 +0000 (17 07:18 +0000)
tree14162692cb8b040affbf8bf4ad3556a574b381f8
parentffb6fb90f69d612ffa981c206d6470e4b2e8237a
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

(cherry picked from commit b20fd15e04ce9292f90a7f70f4184e43034b4b9d)
selftest/knownfail.d/smb2-getinfo [deleted file]
source3/smbd/smb2_getinfo.c
source3/smbd/trans2.c