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:08:13 +0000 (08:08 +0000)
commitc7ee8854d20d68a350a8a2bae2fd915d5211884d
tree31eb2b6f64f6361b8a2124ba39d39fc45eab2f85
parenta6fba5581dbe68c199cb1f043e11e8a36d66d992
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