Net::LDAPI(3pm)

Net::LDAPI3pm

Use ldap over a unix domain socket

Usage

 use Net::LDAPI;
 $ldapi = Net::LDAPI->new('/var/run/ldapi');
 # alternate way
 use Net::LDAP;
 $ldapi = Net::LDAP->new('ldapi://');

Overview

Communicate using the LDAP protocol to a directory server using a UNIX domain socket. This mechanism is non-standard, UNIX-specific and not widely supported.

All the normal "Net::LDAP" methods can be used with a "Net::LDAPI" object; see Net::LDAP for details.

Constructor

new ( [SOCKPATH] )

Create a new connection. SOCKPATH can optionally be specified, to specify the location of the UNIX domain socket to connect to.

If SOCKPATH is not given, the environment variable "LDAPI_SOCK" is evaluated, and if that does not exist, the value "/var/run/ldapi" is used.

See "new" in Net::LDAP for further details.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 8 times.

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

Bugs

None yet.

Author

Derrik Pates <[email protected]>

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