lists.arthurdejong.org
RSS feed

nss-pam-ldapd branch master updated. 0.9.12-4-g2fc652f

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

nss-pam-ldapd branch master updated. 0.9.12-4-g2fc652f



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  2fc652fa11b03fc5aafe353a790c103f49540831 (commit)
      from  6ee19819737180d4c7c8d7945d2132c228f85acb (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 -----------------------------------------------------------------
https://arthurdejong.org/git/nss-pam-ldapd/commit/?id=2fc652fa11b03fc5aafe353a790c103f49540831

commit 2fc652fa11b03fc5aafe353a790c103f49540831
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sun Sep 4 14:12:14 2022 +0200

    Increase password buffer length
    
    This allows passwords to contain up to 255 characters even though they
    are most likely don't add any meaningful password security.
    
    Closes https://github.com/arthurdejong/nss-pam-ldapd/issues/52

diff --git a/nslcd/common.h b/nslcd/common.h
index 0a0cacd..d9275ab 100644
--- a/nslcd/common.h
+++ b/nslcd/common.h
@@ -153,7 +153,7 @@ void invalidator_do(enum ldap_map_selector map);
 /* common buffer lengths */
 #define BUFLEN_NAME         256  /* user, group names and such */
 #define BUFLEN_SAFENAME     300  /* escaped name */
-#define BUFLEN_PASSWORD     128  /* passwords */
+#define BUFLEN_PASSWORD     256  /* passwords */
 #define BUFLEN_PASSWORDHASH 256  /* passwords hashes */
 #define BUFLEN_DN           512  /* distinguished names */
 #define BUFLEN_SAFEDN       600  /* escaped dn */

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

Summary of changes:
 nslcd/common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
nss-pam-ldapd