summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-27 14:56:04 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-27 11:29:17 +0200
commitf7c372795c7fa9d45c731cc0c8fba135f8305301 (patch)
tree3fd0eb24c40eef580c22e29160854622d01b898b /source3
parent46db466372b24b71094708d8e222de195482a453 (diff)
downloadsamba-f7c372795c7fa9d45c731cc0c8fba135f8305301.tar.gz
samba-f7c372795c7fa9d45c731cc0c8fba135f8305301.tar.bz2
samba-f7c372795c7fa9d45c731cc0c8fba135f8305301.zip
s3-pdb_samba4: Fix time handling, use nt_time_to_unix()
This matches 478d74fe1447c4588b14ef7040c8c13339d54026 which I failed to merge from pdb_ads. Andrew Bartlett
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_samba4.c2
1 files changed, 1 insertions, 1 deletions
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;
}