Commit f0c929cf authored by Clément OUDOT's avatar Clément OUDOT

Allow caFile and caPath option for LDAPS (#LEMONLDAP-1108)

git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/branches/lemonldap-ng_version_1_4-bugfixes@5490 1dbb9719-a921-0410-b57f-c3a383c2c641
parent 9ef84e1e
......@@ -15,7 +15,7 @@ use Unicode::String qw(utf8);
use strict;
our @EXPORT = qw(ldap);
our $VERSION = '1.4.11';
our $VERSION = '1.4.12';
our $ppLoaded = 0;
BEGIN {
......@@ -56,6 +56,8 @@ sub new {
( $portal->{ldapTimeout} ? ( timeout => $portal->{ldapTimeout} ) : () ),
( $portal->{ldapVersion} ? ( version => $portal->{ldapVersion} ) : () ),
( $portal->{ldapRaw} ? ( raw => $portal->{ldapRaw} ) : () ),
( $portal->{caFile} ? ( cafile => $portal->{caFile} ) : () ),
( $portal->{caPath} ? ( capath => $portal->{caPath} ) : () ),
);
unless ($self) {
$portal->lmLog( $@, 'error' );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment