lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r2056 - in nss-pam-ldapd-0.8: . nslcd

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r2056 - in nss-pam-ldapd-0.8: . nslcd



Author: arthur
Date: Sat Dec  7 23:04:30 2013
New Revision: 2056
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=2056&view=revision

Log:
increase password buffer size (thanks Bersl) (7140d21 from 0.9)

Modified:
   nss-pam-ldapd-0.8/AUTHORS
   nss-pam-ldapd-0.8/nslcd/group.c
   nss-pam-ldapd-0.8/nslcd/passwd.c
   nss-pam-ldapd-0.8/nslcd/shadow.c

Modified: nss-pam-ldapd-0.8/AUTHORS
==============================================================================
--- nss-pam-ldapd-0.8/AUTHORS   Sat Dec  7 23:00:45 2013        (r2055)
+++ nss-pam-ldapd-0.8/AUTHORS   Sat Dec  7 23:04:30 2013        (r2056)
@@ -120,3 +120,4 @@
 Chris Hiestand <chiestand@salk.edu>
 Jon Severinsson <jon@severinsson.net>
 John Sullivan <jsrhbz@kanargh.force9.co.uk>
+Bersl <bersl2@bersl2.info>

Modified: nss-pam-ldapd-0.8/nslcd/group.c
==============================================================================
--- nss-pam-ldapd-0.8/nslcd/group.c     Sat Dec  7 23:00:45 2013        (r2055)
+++ nss-pam-ldapd-0.8/nslcd/group.c     Sat Dec  7 23:04:30 2013        (r2056)
@@ -254,7 +254,7 @@
   gid_t gids[MAXGIDS_PER_ENTRY];
   int numgids;
   char *tmp;
-  char passbuffer[64];
+  char passbuffer[256];
   int rc;
   /* get group name (cn) */
   names=myldap_get_values(entry,attmap_group_cn);

Modified: nss-pam-ldapd-0.8/nslcd/passwd.c
==============================================================================
--- nss-pam-ldapd-0.8/nslcd/passwd.c    Sat Dec  7 23:00:45 2013        (r2055)
+++ nss-pam-ldapd-0.8/nslcd/passwd.c    Sat Dec  7 23:04:30 2013        (r2056)
@@ -464,7 +464,7 @@
   char gecos[1024];
   char homedir[256];
   char shell[64];
-  char passbuffer[64];
+  char passbuffer[256];
   int i,j;
   /* get the usernames for this entry */
   usernames=myldap_get_values(entry,attmap_passwd_uid);

Modified: nss-pam-ldapd-0.8/nslcd/shadow.c
==============================================================================
--- nss-pam-ldapd-0.8/nslcd/shadow.c    Sat Dec  7 23:00:45 2013        (r2055)
+++ nss-pam-ldapd-0.8/nslcd/shadow.c    Sat Dec  7 23:04:30 2013        (r2056)
@@ -294,7 +294,7 @@
   long expiredate;
   unsigned long flag;
   int i;
-  char passbuffer[64];
+  char passbuffer[256];
   /* get username */
   usernames=myldap_get_values(entry,attmap_shadow_uid);
   if ((usernames==NULL)||(usernames[0]==NULL))
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/