diff options
author | ushi <ushi@honkgong.info> | 2014-05-02 03:08:45 +0200 |
---|---|---|
committer | ushi <ushi@honkgong.info> | 2014-05-02 03:08:45 +0200 |
commit | 119cebf22916caacf31d8a3756740da682de7d6a (patch) | |
tree | 6eafb8ed2ec0c99e27458cd967c89e934e2eb550 | |
parent | 8f12c15ec91c9cf12ed08f8fdd943e9a7c0a7c12 (diff) |
Use larger nslcd password buffer
I had some edge cases where 64 bytes were not enough. People are using
password managers with long generated passwords. I increased the buffer
size to 128.
-rw-r--r-- | nslcd/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/common.h b/nslcd/common.h index cfc51eb..b6fcd72 100644 --- a/nslcd/common.h +++ b/nslcd/common.h @@ -162,7 +162,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 64 /* passwords */ +#define BUFLEN_PASSWORD 128 /* passwords */ #define BUFLEN_PASSWORDHASH 256 /* passwords hashes */ #define BUFLEN_DN 256 /* distinguished names */ #define BUFLEN_SAFEDN 300 /* escapedd dn */ |