Skip to content

Commit

Permalink
LDAPI.pm: document environment variable LDAPI_SOCK and default
Browse files Browse the repository at this point in the history
  • Loading branch information
marschap committed Sep 28, 2012
1 parent 0e5156b commit 3b170b8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/Net/LDAPI.pm
Expand Up @@ -49,8 +49,12 @@ object; see L<Net::LDAP> for details.
=item new ( [SOCKPATH] )
Create a new connection. SOCKPATH can optionally be specified, to
specify the location of the UNIX domain socket to connect to. See
L<Net::LDAP/new> for details.
specify the location of the UNIX domain socket to connect to.
If SOCKPATH is not given, the environment variable C<LDAPI_SOCK> is evaluated,
and if that does not exist, the value C</var/run/ldapi> is used.
See L<Net::LDAP/new> for further details.
=back
Expand Down

0 comments on commit 3b170b8

Please sign in to comment.