Duplicate SMB file_ids leading to Windows client cache poisoning

Ralph Boehme slow at samba.org
Wed Dec 8 06:40:10 UTC 2021

On 12/8/21 00:18, Steven Engelhardt via samba-technical wrote:
> We would appreciate any guidance on the correct long-term resolution
> of this issue.

the function that calculated the itime from the filesystem timestamps is 

It will use the oldest one of atime, mtime or ctime. What is your 
servers's filesystem timestamp granularity?

Can you share the result of running stat cli command on files that 
triggered the issue? Or just generally share info about your filesystem 
and its timestamp granularity?

I'M thinking that maybe we should just use the current time for the 
itime as returned by clock_gettime_mono().


Ralph Boehme, Samba Team                 https://samba.org/
SerNet Samba Team Lead      https://sernet.de/en/team-samba
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20211208/eb77ef91/OpenPGP_signature.sig>

More information about the samba-technical mailing list