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
- From: Berend De Schouwer <berend [at] deschouwer.co.za>
- To: Jed Liu <jed-nss-pam-ldapd-users [at] uma.litech.org>
- Cc: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: [PATCH] Allow configured file paths that are longer than 63 characters
- Date: Sun, 24 May 2015 11:34:12 +0200
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/