lib: use nt_time_to_unix_full() in nt_time_string()
authorRalph Boehme <slow@samba.org>
Fri, 22 Nov 2019 10:47:22 +0000 (11:47 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 6 Dec 2019 00:17:35 +0000 (00:17 +0000)
commit2b938b4d339de095c670661600431bd6383a747b
tree7ca1f504f6ef093930b7b3b0e07c4d93e19bb4b9
parent2e687d0e4dba9a0f94e532726e1f3dceaa3ed840
lib: use nt_time_to_unix_full() in nt_time_string()

This enables printing time values before the UNIX epoch coming in over the wire
in smbclient allinfo command.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/time.c