lists.arthurdejong.org
RSS feed

Re: [PATCH] Allow configured file paths that are longer than 63 characters

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

Re: [PATCH] Allow configured file paths that are longer than 63 characters



On Sat, 2015-05-23 at 17:22 -0400, Jed Liu wrote:
> Here is a simple two-line patch for a configuration issue I have been 
> 
> running into, where nslcd exits with a "too may [sic] arguments" 
> error 
> if nslcd.conf contains a path that is longer than 63 characters.

maybe:

#ifdef PATH_MAX /* in <limits.h> */
#define TOKEN_SIZE PATH_MAX
#else
#define TOKEN_SIZE 4096
#endif

char token[TOKEN_SIZE];

... ?


-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/