gencache: Convert to a binary timestamp
commit0d7f67f07cd96943dfe58e91254145e28e047ace
authorVolker Lendecke <vl@samba.org>
Wed, 10 Oct 2018 14:12:28 +0000 (10 16:12 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 6 Nov 2018 17:57:26 +0000 (6 18:57 +0100)
tree82a8346b97a752ea5d6cca5c4deb88bad7102009
parent72ec893d0aaa518a2cf22aa68b16c3907a17dfc8
gencache: Convert to a binary timestamp

Two reasons:

The ascii conversion shows up on profiles.

In a further commit we will get checksums for gencache entries to
protect at hidden corruption due to a crash on the non-transactioned
gencache.tdb. Next to the timestamp this is a second field that is
gencache metadata, and I don't want to deal with a second ascii number
when at least some of the gencache values are binary already.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/gencache.c