LDAPS

"Helmut Schneider" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Message-ID <[email protected]>
Hi,

I ran Net::LDAP on 5 Servers, 2*OpenBSD, 3*FreeBSD. I'm using it to connect 
to an MS Active Directory. Everything was fine, also connecting via LDAPS.

Now I switched the 2 OpenBSD computers to FreeBSD and I'm not able to 
connect via LDAPS anymore. LDAP is fine.

The code is:

our $scheme = "ldap";
our $dnsDomain = "domain.tld";
$_conn = Net::LDAP->new($dnsDomain, scheme=>$scheme) or die "Couldn't 
connect to '$scheme://$dnsDomain' for domain '$_dnsDomain' using searchbase 
'$_searchbase'. $!!\n";
$_conn->bind($ldapBindUser, password=>$ldapBindPass) or die "Couldn't bind 
to '$scheme://$dnsDomain' for domain '$_dnsDomain' using searchbase 
'$_searchbase'. $!!\n";

If I switch to

our $scheme = "ldaps";

I get the error:

Couldn't connect to 'ldaps://domain.tld' for domain '' using searchbase 
'CN=Partitions,CN=Configuration,DC=domain,DC=tld'. Invalid argument!

According to tcpdump there are no pakets transmitted at TCP 636.

But again, the 3 other FreeBSD machines do fine using LDAPS. What did I 
miss?

Thanks, Helmut
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.