Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

LDAPI.pm: document environment variable LDAPI_SOCK and default

  • Loading branch information...
commit 3b170b8b4a90094b8f4fb0a51db4ec31ad104280 1 parent 0e5156b
@marschap marschap authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 lib/Net/LDAPI.pm
View
8 lib/Net/LDAPI.pm
@@ -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

0 comments on commit 3b170b8

Please sign in to comment.
Something went wrong with that request. Please try again.