nss-pam-ldapd commit: r2065 - nss-pam-ldapd-0.8/nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r2065 - nss-pam-ldapd-0.8/nslcd
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r2065 - nss-pam-ldapd-0.8/nslcd
- Date: Sun, 26 Jan 2014 18:05:10 +0100 (CET)
Author: arthur
Date: Sun Jan 26 18:05:09 2014
New Revision: 2065
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=2065&view=revision
Log:
fix pwdLastSet calcuation (2181cca from 0.9, thanks Joshua Shire)
Modified:
nss-pam-ldapd-0.8/nslcd/shadow.c
Modified: nss-pam-ldapd-0.8/nslcd/shadow.c
==============================================================================
--- nss-pam-ldapd-0.8/nslcd/shadow.c Sun Dec 8 22:35:47 2013 (r2064)
+++ nss-pam-ldapd-0.8/nslcd/shadow.c Sun Jan 26 18:05:09 2014 (r2065)
@@ -135,7 +135,7 @@
strncpy(buffer,date,l);
buffer[l]='\0';
errno=0;
- value=strtol(date,&tmp,10);
+ value=strtol(buffer,&tmp,10);
if ((*date=='\0')||(*tmp!='\0'))
{
log_log(LOG_WARNING,"%s: %s: non-numeric",dn,attr);
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd commit: r2065 - nss-pam-ldapd-0.8/nslcd,
Commits of the nss-pam-ldapd project