From 860c32e2db212ea61f6375d8772299b6a4ebb0b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Oudot?= Date: Tue, 8 Nov 2016 11:29:43 +0000 Subject: [PATCH] Allow caFile and caPath option for LDAPS (#1108) --- lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/LDAP.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/LDAP.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/LDAP.pm index 2cab229c1..a1326a7cc 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/LDAP.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/LDAP.pm @@ -51,6 +51,8 @@ sub new { ( $conf->{ldapTimeout} ? ( timeout => $conf->{ldapTimeout} ) : () ), ( $conf->{ldapVersion} ? ( version => $conf->{ldapVersion} ) : () ), ( $conf->{ldapRaw} ? ( raw => $conf->{ldapRaw} ) : () ), + ( $conf->{caFile} ? ( cafile => $conf->{caFile} ) : () ), + ( $conf->{caPath} ? ( capath => $conf->{caPath} ) : () ), ); unless ($self) { $portal->lmLog( $@, 'error' );