SMB server fails setting dates earlier than 1970
Windows applications may ask to set file dates earlier than 1970, and that currently causes the smb "set attributes" code to bubble up an error.
It should instead "do the best it can", by storing the oldest date is knows how to represent.
That's not perfect, but it's better than returning an error.
Applications appear to tolerate this.
Updated by Electric Monk almost 8 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
git commit b6f078ed90209a1b0e143e0abd10e14a6a2a7397
commit b6f078ed90209a1b0e143e0abd10e14a6a2a7397 Author: Gordon Ross <email@example.com> Date: 2015-06-13T17:27:15.000Z 5993 SMB server fails setting dates earlier than 1970 Reviewed by: Bayard Bell <Bayard.Bell@nexenta.com> Reviewed by: Kevin Crowe <firstname.lastname@example.org> Reviewed by: Matt Barden <email@example.com> Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>