1Net::LDAPI(3)         User Contributed Perl Documentation        Net::LDAPI(3)
2
3
4

NAME

6       Net::LDAPI - use LDAP over a UNIX domain socket
7

SYNOPSIS

9        use Net::LDAPI;
10
11        $ldapi = Net::LDAPI->new('/var/run/ldapi');
12
13        # alternate way
14        use Net::LDAP;
15
16        $ldapi = Net::LDAP->new('ldapi://');
17

DESCRIPTION

19       Communicate using the LDAP protocol to a directory server using a UNIX
20       domain socket. This mechanism is non-standard, UNIX-specific and not
21       widely supported.
22
23       All the normal "Net::LDAP" methods can be used with a "Net::LDAPI"
24       object; see Net::LDAP for details.
25

CONSTRUCTOR

27       new ( [SOCKPATH] )
28           Create a new connection. SOCKPATH can optionally be specified, to
29           specify the location of the UNIX domain socket to connect to.
30
31           If SOCKPATH is not given, the environment variable "LDAPI_SOCK" is
32           evaluated, and if that does not exist, the value "/var/run/ldapi"
33           is used.
34
35           See "new" in Net::LDAP for further details.
36

SEE ALSO

38       Net::LDAP, IO::Socket::UNIX
39

BUGS

41       None yet.
42

AUTHOR

44       Derrik Pates <dpates@dsdk12.net>
45
47       Copyright (c) 2003-2004, Derrik Pates and Graham Barr. All rights
48       reserved. This library is free software; you can redistribute it and/or
49       modify it under the same terms as Perl itself.
50
51
52
53perl v5.36.0                      2023-01-24                     Net::LDAPI(3)
Impressum