Hello,

I'm trying to setup a secure LDAP connection and I get the error
IO::Socket:SSL: Timeout

The code is below:
my $ldap = Net::LDAPS->new($server, verify => 'required', capath =>
'somepath') || die $!; $ldap->bind ($BINDDN, password => $pwd, version
=> 3);

Can somebody tell me what I'm doing wrong?

I'm running perl 5.8.8-10 on CentOs5, perl-ldap-0.33, perl-IO-Socket-SSL 1.01
The LDAP server is a Fedora DirectoryServer 1.0.4
Plain  ldapsearches work with SSL

Thanks for helping,
Jo

Reply via email to