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

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