lists.arthurdejong.org
RSS feed

nss-pam-ldapd branch master updated. 0.9.8-2-g9760dce

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

nss-pam-ldapd branch master updated. 0.9.8-2-g9760dce



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  9760dcef59da6ffbf1826724fa79621d74255e06 (commit)
      from  8f76d24b5e08c1d3670f3ab7399d71a1f8b330ef (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=9760dcef59da6ffbf1826724fa79621d74255e06

commit 9760dcef59da6ffbf1826724fa79621d74255e06
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sat Dec 23 17:58:27 2017 +0100

    Increase size of config file token
    
    This increases the maximum size of tokens that are read from the
    nslcd.conf configuration file to 256 characters. This was a problem for
    some very long uri values.
    
    Closes https://github.com/arthurdejong/nss-pam-ldapd/issues/21

diff --git a/nslcd/cfg.c b/nslcd/cfg.c
index a6cfeb3..60d860e 100644
--- a/nslcd/cfg.c
+++ b/nslcd/cfg.c
@@ -1265,7 +1265,7 @@ static void cfg_read(const char *filename, struct 
ldap_config *cfg)
   char linebuf[MAX_LINE_LENGTH];
   char *line;
   char keyword[32];
-  char token[64];
+  char token[256];
   int i;
 #ifdef LDAP_OPT_X_TLS
   int rc;

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

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


hooks/post-receive
-- 
nss-pam-ldapd
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
https://lists.arthurdejong.org/nss-pam-ldapd-commits/