]> 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)
committerJule Anger <janger@samba.org>
Mon, 17 Feb 2025 16:09:09 +0000 (16:09 +0000)
commitedb719760b192ddb7b2fca51b1f112f33933524d
tree6b2db92dad77bd45685bcfb677b269224c9e9389
parentf3d65a377add30263a4d6cc71feecdfc4eb6009c
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

(cherry picked from commit 0a48167044bb1ffd9e19cb2e23de9834d0551be1)
docs-xml/manpages/vfs_gpfs.8.xml
source3/modules/vfs_gpfs.c