mdssvc: fix date marshalling
authorRalph Boehme <slow@samba.org>
Wed, 17 May 2023 14:38:39 +0000 (16:38 +0200)
committerJule Anger <janger@samba.org>
Mon, 31 Jul 2023 08:05:14 +0000 (08:05 +0000)
commitf4a3373585f0ba0b87763d35bb90054a983109c6
treea99ee8ffd53ee1ea546b5450087b7417cbe354b8
parentaa4db8a3cf82c278380600fa6ce293ac7a7379c3
mdssvc: fix date marshalling

Did this ever work? Possible just copied over from Netatalk and was always
broken... The Mac client expects the timevalue as seconds relative to
2001-01-01 00:00:00 UTC, packed as IEEE float.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 620ca1e68d02be45a94aa41217a141d211fceb1f)
source3/rpc_server/mdssvc/marshalling.c