diff options
Diffstat (limited to 'databases/nss_ldap/patches/patch-ah')
-rw-r--r-- | databases/nss_ldap/patches/patch-ah | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/nss_ldap/patches/patch-ah b/databases/nss_ldap/patches/patch-ah new file mode 100644 index 00000000000..fcc5fefb7fc --- /dev/null +++ b/databases/nss_ldap/patches/patch-ah @@ -0,0 +1,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; + } |