nss-pam-ldapd commit: r1342 - nss-pam-ldapd/nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1342 - nss-pam-ldapd/nslcd
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1342 - nss-pam-ldapd/nslcd
- Date: Sun, 26 Dec 2010 12:05:36 +0100 (CET)
Author: arthur
Date: Sun Dec 26 12:05:35 2010
New Revision: 1342
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1342
Log:
also support the tls_cacert option as an alias for tls_cacertfile
Modified:
nss-pam-ldapd/nslcd/cfg.c
Modified: nss-pam-ldapd/nslcd/cfg.c
==============================================================================
--- nss-pam-ldapd/nslcd/cfg.c Sun Dec 26 12:04:05 2010 (r1341)
+++ nss-pam-ldapd/nslcd/cfg.c Sun Dec 26 12:05:35 2010 (r1342)
@@ -986,7 +986,8 @@
LDAP_SET_OPTION(NULL,LDAP_OPT_X_TLS_CACERTDIR,value);
free(value);
}
- else if (strcasecmp(keyword,"tls_cacertfile")==0)
+ else if ( (strcasecmp(keyword,"tls_cacertfile")==0) ||
+ (strcasecmp(keyword,"tls_cacert")==0) )
{
get_strdup(filename,lnr,keyword,&line,&value);
get_eol(filename,lnr,keyword,&line);
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits
- nss-pam-ldapd commit: r1342 - nss-pam-ldapd/nslcd,
Commits of the nss-pam-ldapd project