Allow caFile and caPath option for LDAPS (#1108)

This commit is contained in:
Clément Oudot 2016-11-08 11:29:43 +00:00
parent 6f0a9a60b0
commit 860c32e2db

View File

@ -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' );