lists.arthurdejong.org
RSS feed

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

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

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



Author: arthur
Date: Sun May  4 14:54:26 2014
New Revision: 2084
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=2084&view=revision

Log:
grow password buffer size (119cebf from 0.9, thanks ushi)

Modified:
   nss-pam-ldapd-0.8/AUTHORS
   nss-pam-ldapd-0.8/nslcd/myldap.c
   nss-pam-ldapd-0.8/nslcd/pam.c

Modified: nss-pam-ldapd-0.8/AUTHORS
==============================================================================
--- nss-pam-ldapd-0.8/AUTHORS   Sun Mar 16 18:17:14 2014        (r2083)
+++ nss-pam-ldapd-0.8/AUTHORS   Sun May  4 14:54:26 2014        (r2084)
@@ -124,3 +124,4 @@
 Caleb Callaway <enlightened.despot@gmail.com>
 Joshua Shire <jshire@hyduke.com>
 Lukas Slebodnik <lslebodn@redhat.com>
+ushi <ushi@honkgong.info>

Modified: nss-pam-ldapd-0.8/nslcd/myldap.c
==============================================================================
--- nss-pam-ldapd-0.8/nslcd/myldap.c    Sun Mar 16 18:17:14 2014        (r2083)
+++ nss-pam-ldapd-0.8/nslcd/myldap.c    Sun May  4 14:54:26 2014        (r2084)
@@ -5,7 +5,7 @@
 
    Copyright (C) 1997-2006 Luke Howard
    Copyright (C) 2006, 2007 West Consulting
-   Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Arthur de Jong
+   Copyright (C) 2006-2014 Arthur de Jong
 
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -88,7 +88,7 @@
   /* the username to bind with */
   char binddn[256];
   /* the password to bind with if any */
-  char bindpw[64];
+  char bindpw[128];
   /* timestamp of last activity */
   time_t lastactivity;
   /* index into ldc_uris: currently connected LDAP uri */

Modified: nss-pam-ldapd-0.8/nslcd/pam.c
==============================================================================
--- nss-pam-ldapd-0.8/nslcd/pam.c       Sun Mar 16 18:17:14 2014        (r2083)
+++ nss-pam-ldapd-0.8/nslcd/pam.c       Sun May  4 14:54:26 2014        (r2084)
@@ -2,7 +2,7 @@
    pam.c - pam processing routines
 
    Copyright (C) 2009 Howard Chu
-   Copyright (C) 2009, 2010, 2011, 2012, 2013 Arthur de Jong
+   Copyright (C) 2009-2014 Arthur de Jong
 
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -246,7 +246,7 @@
   int rc;
   char username[256];
   char servicename[64];
-  char password[64];
+  char password[128];
   const char *userdn;
   MYLDAP_ENTRY *entry;
   int authzrc=NSLCD_PAM_SUCCESS;
@@ -617,8 +617,8 @@
   char userdn[256];
   int asroot;
   char servicename[64];
-  char oldpassword[64];
-  char newpassword[64];
+  char oldpassword[128];
+  char newpassword[128];
   const char *binddn=NULL; /* the user performing the modification */
   MYLDAP_ENTRY *entry;
   char authzmsg[1024];
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/