s3: Fix pdb_ads_pull_time
authorVolker Lendecke <vl@samba.org>
Tue, 15 Feb 2011 20:41:58 +0000 (21:41 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 19 Feb 2011 10:32:49 +0000 (11:32 +0100)
source3/passdb/pdb_ads.c

index 1dcf5adc534fd7c4bd00f6668472d7ff860cf679..b8ed83abf70cd993dc364f903d145640925cabc0 100644 (file)
@@ -67,7 +67,7 @@ static bool pdb_ads_pull_time(struct tldap_message *msg, const char *attr,
        if (!tldap_pull_uint64(msg, attr, &tmp)) {
                return false;
        }
-       *ptime = uint64s_nt_time_to_unix_abs(&tmp);
+       *ptime = nt_time_to_unix(tmp);
        return true;
 }