lists.arthurdejong.org
RSS feed

nss-pam-ldapd branch master updated. 0.9.1-2-g7140d21

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

nss-pam-ldapd branch master updated. 0.9.1-2-g7140d21



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nss-pam-ldapd".

The branch, master has been updated
       via  7140d2197ab2132b33553bacc5f8d8240ed13bbe (commit)
      from  8571bc1dff746bd97411456cdb32e386d90d9047 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=7140d2197ab2132b33553bacc5f8d8240ed13bbe

commit 7140d2197ab2132b33553bacc5f8d8240ed13bbe
Author: Bersl <bersl2@bersl2.info>
Date:   Tue Aug 27 17:36:33 2013 -0500

    Increase password buffer size
    
    With the smaller buffers some password hashes would be truncated.

diff --git a/AUTHORS b/AUTHORS
index 0f584d7..0889ab1 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -122,3 +122,4 @@ Jon Severinsson <jon@severinsson.net>
 Thorsten Glaser <t.glaser@tarent.de>
 Steve Hill <steve@opendium.com>
 Caleb Callaway <enlightened.despot@gmail.com>
+Bersl <bersl2@bersl2.info>
diff --git a/nslcd/group.c b/nslcd/group.c
index 175fceb..e4ff55a 100644
--- a/nslcd/group.c
+++ b/nslcd/group.c
@@ -261,7 +261,7 @@ static int write_group(TFILE *fp, MYLDAP_ENTRY *entry, 
const char *reqname,
   gid_t gids[MAXGIDS_PER_ENTRY];
   int numgids;
   char *tmp;
-  char passbuffer[64];
+  char passbuffer[256];
   MYLDAP_SEARCH *search;
   MYLDAP_ENTRY *entry2;
   int rc;
diff --git a/nslcd/passwd.c b/nslcd/passwd.c
index 8883be8..fc86b4f 100644
--- a/nslcd/passwd.c
+++ b/nslcd/passwd.c
@@ -407,7 +407,7 @@ static int write_passwd(TFILE *fp, MYLDAP_ENTRY *entry, 
const char *requser,
   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);
diff --git a/nslcd/shadow.c b/nslcd/shadow.c
index 031bf4d..d1312f8 100644
--- a/nslcd/shadow.c
+++ b/nslcd/shadow.c
@@ -230,7 +230,7 @@ static int write_shadow(TFILE *fp, MYLDAP_ENTRY *entry, 
const char *requser,
   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))

-----------------------------------------------------------------------

Summary of changes:
 AUTHORS        |    1 +
 nslcd/group.c  |    2 +-
 nslcd/passwd.c |    2 +-
 nslcd/shadow.c |    2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
nss-pam-ldapd
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/