Net::LDAPS(3pm)

Net::LDAPS3pm

Use ldap over an ssl connection

Usage

 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/');

Overview

Communicate using the LDAP 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. HOST is the hostname to contact. OPTIONS is a number of key/value pairs. See "new" in Net::LDAP for details.

Releases

13 releases since Debian 3.0 (Woody); the text changed 9 times.

  1. 3.0
  2. 3.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7
  7. 8
  8. 9–10
  9. 11–13
  10. Arch

Bugs

You cannot have more than one LDAPS connection at any one time, due to restrictions in the underlying Net::SSLeay code.

Author

Chris Ridd <[email protected]>

From perl-ldap 0.68-8 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.