Net::LDAPI (3)
Leading comments
Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28) Standard preamble: ========================================================================
NAME
Net::LDAPI - use LDAP over a UNIX domain socketSYNOPSIS
use Net::LDAPI; $ldapi = Net::LDAPI->new('/var/run/ldapi'); # alternate way use Net::LDAP; $ldapi = Net::LDAP->new('ldapi://');
DESCRIPTION
Communicate using theLDAP
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. SOCKPATHcan optionally be specified, to specify the location of theUNIXdomain socket to connect to.
If
SOCKPATHis 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.