Blame SOURCES/nss-pam-ldapd-0.8.13-password-longer-than-64-chars.patch

09a3f6
diff -up nss-pam-ldapd-0.8.13/nslcd/myldap.c.long_password nss-pam-ldapd-0.8.13/nslcd/myldap.c
09a3f6
--- nss-pam-ldapd-0.8.13/nslcd/myldap.c.long_password	2017-10-24 12:38:29.315411416 +0200
09a3f6
+++ nss-pam-ldapd-0.8.13/nslcd/myldap.c	2017-10-24 12:38:52.727517587 +0200
09a3f6
@@ -88,7 +88,7 @@ struct ldap_session
09a3f6
   /* the username to bind with */
09a3f6
   char binddn[256];
09a3f6
   /* the password to bind with if any */
09a3f6
-  char bindpw[64];
09a3f6
+  char bindpw[128];
09a3f6
   /* timestamp of last activity */
09a3f6
   time_t lastactivity;
09a3f6
   /* index into ldc_uris: currently connected LDAP uri */
09a3f6
diff -up nss-pam-ldapd-0.8.13/nslcd/pam.c.long_password nss-pam-ldapd-0.8.13/nslcd/pam.c
09a3f6
--- nss-pam-ldapd-0.8.13/nslcd/pam.c.long_password	2017-10-24 12:39:50.761780765 +0200
09a3f6
+++ nss-pam-ldapd-0.8.13/nslcd/pam.c	2017-10-24 12:41:15.083163153 +0200
09a3f6
@@ -246,7 +246,7 @@ int nslcd_pam_authc(TFILE *fp,MYLDAP_SES
09a3f6
   int rc;
09a3f6
   char username[256];
09a3f6
   char servicename[64];
09a3f6
-  char password[64];
09a3f6
+  char password[128];
09a3f6
   const char *userdn;
09a3f6
   MYLDAP_ENTRY *entry;
09a3f6
   int authzrc=NSLCD_PAM_SUCCESS;
09a3f6
@@ -617,8 +617,8 @@ int nslcd_pam_pwmod(TFILE *fp,MYLDAP_SES
09a3f6
   char userdn[256];
09a3f6
   int asroot;
09a3f6
   char servicename[64];
09a3f6
-  char oldpassword[64];
09a3f6
-  char newpassword[64];
09a3f6
+  char oldpassword[128];
09a3f6
+  char newpassword[128];
09a3f6
   const char *binddn=NULL; /* the user performing the modification */
09a3f6
   MYLDAP_ENTRY *entry;
09a3f6
   char authzmsg[1024];