The OS/2 Samba client uses cli_setpathinfo_basic() to set the file times/dates to their original values before closing a file. Over SMB1, this works correctly, for SMB2+, an invalid parameter error is returned. Is it possible that the SMB2+ codepath hasn't been implemented for this function, or do I need to use a different function than cli_setpathinfo_basic() for the SMB2+ case?
We should check is this is still a problem before 4.7.0.
*** This bug has been marked as a duplicate of bug 12913 ***
Confirming the fixes in 12913 fix this issue