smbd: implement SMB_FILE_NORMALIZED_NAME_INFORMATION handling
commit42b32da416056f315925c2e6563c2c5d26f27832
authorStefan Metzmacher <metze@samba.org>
Thu, 25 Apr 2019 12:57:33 +0000 (25 14:57 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 16 May 2019 10:37:52 +0000 (16 10:37 +0000)
treea14fa8b0116ae5f74357ae8f7b431036f190059c
parent5308f042e672b61eab98a486b87dddd54ac6e764
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