blob: fcc5fefb7fc9cf3ac2c660168b879016cf930b9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ah,v 1.3 2007/08/10 17:14:40 drochner Exp $
--- ldap-pwd.c.orig 2007-08-09 19:20:45.000000000 +0200
+++ ldap-pwd.c
@@ -185,7 +185,7 @@ _nss_ldap_parse_pw (LDAPMessage * e,
_nss_ldap_assign_attrval (e, AT (shadowLastChange), &tmp, &buffer,
&buflen);
if (stat == NSS_SUCCESS)
- pw->pw_change += atol(tmp);
+ pw->pw_change += atol(tmp) * (24*60*60);
else
pw->pw_change = 0;
}
|