The offset calculation for the offset that got passed to fetch_write_time_send() in the enumeration loop was wrong as it passed the offset before smbd_dirptr_lanman2_entry() added required padding. This resuls in broken timestamps in the find response. Have possible patch, need bugnumber.
Created attachment 13572 [details] Possible patch for master Christof, can you take a look?
Can you get me a backtrace with symbols. I'll take a look, but we're not going to be able to remove the GETWD code, it is a vital security requirement. It's possible the best we can do is note that shadow_copy2 is incompatible with Solaris-based systems.
Sorry, ignore previous comment - was meant for bug: https://bugzilla.samba.org/show_bug.cgi?id=13027
Comment on attachment 13572 [details] Possible patch for master Looked over it with Jeremy, pushed to autobuild.
Created attachment 13577 [details] git-am cherry-pick from master for 4.7.0.
Reassigning to Karolin for inclusion in 4.7.
Pushed to autobuild-v4-7-test.
(In reply to Karolin Seeger from comment #7) Pushed to v4-7-test. Closing out bug report. Thanks!