lib: handle NTTIME_THAW in nt_time_to_full_timespec()
authorRalph Boehme <slow@samba.org>
Tue, 5 Oct 2021 13:10:33 +0000 (15:10 +0200)
committerJule Anger <janger@samba.org>
Wed, 10 Nov 2021 15:54:35 +0000 (15:54 +0000)
commit4a106c2322c5f69f008707701ca54904b51cb297
treecb801a2385c24d836c65b9273e129a270e759030
parent4e2c7c66c9699276f3fb1b81c4a6f574068d7141
lib: handle NTTIME_THAW in nt_time_to_full_timespec()

Preliminary handling of NTTIME_THAW to avoid NTTIME_THAW is passed as some
mangled value down to the VFS set timestamps function.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14127
RN: Avoid storing NTTIME_THAW (-2) as value on disk

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 6ed71ad7e6aa98a34cfde95d7d62c46694d58469)

Autobuild-User(v4-14-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-14-test): Wed Nov 10 15:54:35 UTC 2021 on sn-devel-184
lib/util/time.c
selftest/knownfail.d/samba3.smb2.timestamps [deleted file]