]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-smb-fs-attr-info-20081227
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 28 Dec 2008 04:41:48 +0000 (04:41 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 28 Dec 2008 04:41:48 +0000 (04:41 +0000)
commitb74cf71aedb87419fa8185e2e0cbb279e035cf42
tree77b416155f9a478c8df4ea1f62adc1dff58f9cac
parenta8542e4bf56e98e0681c536fa3b229ee8fa0ebd3
DEVEL15-windows-smb-fs-attr-info-20081227

LICENSE MIT

even though the docs for FILE_FS_ATTRIBUTE_INFORMATION state
that the MaximumComponentNameLength field is in bytes, it turns
out that Windows SMB servers return the value in characters.

Reduce the reported value to 255 to match NTFS.

(cherry picked from commit 8f3e660270d9c1af268ba45118ab87740fbeeef8)
src/WINNT/afsd/smb3.c