Allow caFile and caPath option for LDAPS (#1108)
This commit is contained in:
parent
6f0a9a60b0
commit
860c32e2db
|
@ -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' );
|
||||
|
|
Loading…
Reference in New Issue
Block a user