Version 5.0.0.1986
For some files the server returns the same file Id as for the folder.
Here's the result of listing a folder from Wireshark. The folder itslef ("." element) and the file ("settings.list") element have the same FileId
(see attached images) This causes issues when Windows client tries to get file information: it returns File not found error until cache expires (~5 seconds)
below are 2 consecutive commands. The second one fails:
Code: Select all
C:\Users\ipx>xcopy /y "\\qnaparm\Public\20211214131220\settings.list" .
\\qnaparm\Public\20211214131220\settings.list
1 File(s) copied
C:\Users\ipx>xcopy /y "\\qnaparm\Public\20211214131220\settings.list" .
File not found - settings.list
0 File(s) copied
I tried to add option fileid to /etc/smb.conf as described on samba man pages:
Code: Select all
vfs objects = fileid catia fruit qnap_macea streams_depot
fileid:algorithm = fsid
Code: Select all
vfs objects = catia fruit qnap_macea streams_depot