]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_gpfs: add gpfs:clamp_invalid_times
authorRalph Boehme <slow@samba.org>
Wed, 22 Jan 2025 11:34:31 +0000 (12:34 +0100)
committerChristof Schmitt <cs@samba.org>
Wed, 5 Feb 2025 23:42:15 +0000 (23:42 +0000)
commit0a48167044bb1ffd9e19cb2e23de9834d0551be1
tree349ab446cf7cc83a4bc1d78f844e793c7533033a
parent9bf92bd9fe2533fa64707627e46942c71f9701e3
vfs_gpfs: add gpfs:clamp_invalid_times

The timestamp validation added as part of the fix for bug 15151 causes hard
failures for certain clients that seem to use a temporary timestamp initially
when creating files, changing in a later step.

Clamp invalid timestamps to the allowed range 0..UINT32_MAX if
"gpfs:clamp_invalid_times = yes" is set.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15151

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Wed Feb  5 23:42:15 UTC 2025 on atb-devel-224
docs-xml/manpages/vfs_gpfs.8.xml
source3/modules/vfs_gpfs.c