As reported on the samba-technical list, the code path returning timestamps from an SMB2 create call doesn't round to 2 seconds if "dos filetime resolution = yes" on the share.
Patch to follow.
Created attachment 11801 [details]
git-am fix cherry-picked from master
Applies cleanly to 4.4.x, 4.3.x, 4.2.x.
Yeah, I know we need a regression test case for this, but that shouldn't block the bugfix I think.
I'll work on getting a regression test case into master.
Pushed to autobuild-v4-[4|3|2]-test.
(In reply to Karolin Seeger from comment #2)
Pushed to v4-4-test and v4-3-test, re-trying autobuild-v4-2-test.
(In reply to Karolin Seeger from comment #3)
Pushed to all branches.
Closing out bug report.