From f7c372795c7fa9d45c731cc0c8fba135f8305301 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 27 Jun 2012 14:56:04 +1000 Subject: s3-pdb_samba4: Fix time handling, use nt_time_to_unix() This matches 478d74fe1447c4588b14ef7040c8c13339d54026 which I failed to merge from pdb_ads. Andrew Bartlett --- source3/passdb/pdb_samba4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/passdb/pdb_samba4.c b/source3/passdb/pdb_samba4.c index c94f29c7ae..b0e34e42d1 100644 --- a/source3/passdb/pdb_samba4.c +++ b/source3/passdb/pdb_samba4.c @@ -61,7 +61,7 @@ static bool pdb_samba4_pull_time(struct ldb_message *msg, const char *attr, return false; } tmp = ldb_msg_find_attr_as_uint64(msg, attr, 0); - *ptime = uint64s_nt_time_to_unix_abs(&tmp); + *ptime = nt_time_to_unix(tmp); return true; } -- cgit