Fix SMB2 Close attributes

Since 572d4e3a SMB2 Close returns the UNIX epoch for all time fields if postqueryattrib is 0.

This is a regression introduced by 572d4e3a.

We're not initializing the timestamps correctly with SAMBA_UTIME_OMIT, so the new put_long_date_full_timespec() translates the 0 value to a valid NT time represting 1.1.1970.

Fixes bug 14714.

Merge request reports

Loading