Net::LDAPS (3)
Leading comments
Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28) Standard preamble: ========================================================================
NAME
Net::LDAPS - use LDAP over an SSL connectionSYNOPSIS
use Net::LDAPS; $ldaps = Net::LDAPS->new('myhost.example.com', port => '10000', verify => 'require', capath => '/usr/local/cacerts/'); # alternate way use Net::LDAP; $ldaps = Net::LDAP->new('ldaps://myhost.example.com:10000', verify => 'require', capath => '/usr/local/cacerts/');
DESCRIPTION
Communicate using theLDAP
protocol to a directory server using an
encrypted (SSL
) network connection. This mechanism is non-standard but
widely supported; consider using LDAPv3 with the standard TLS
extension if possible (many servers do not support it yet.) See
``start_tls'' in Net::LDAP.
All the normal "Net::LDAP" methods can be used with a "Net::LDAPS" object; see Net::LDAP for details.
CONSTRUCTOR
- new ( HOST[,OPTIONS] )
-
Create a new connection. HOSTis the hostname to contact.OPTIONSis a number of key/value pairs. See ``new'' in Net::LDAP for details.
SEE ALSO
Net::LDAP, IO::Socket::SSLBUGS
You cannot have more than oneLDAPS
connection at any one time, due to
restrictions in the underlying Net::SSLeay code.