Unix/Linux Go Back    

CentOS 7.0 - man page for net::ldapi (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

Net::LDAPI(3)		       User Contributed Perl Documentation		    Net::LDAPI(3)

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

	use Net::LDAPI;

	$ldapi = Net::LDAPI->new('/var/run/ldapi');

	# alternate way
	use Net::LDAP;

	$ldapi = Net::LDAP->new('ldapi://');

       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.

       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.

       Net::LDAP, IO::Socket::UNIX

       None yet.

       Derrik Pates <dpates@dsdk12.net>

       Copyright (c) 2003-2004, Derrik Pates and Graham Barr. All rights reserved. This library
       is free software; you can redistribute it and/or modify it under the same terms as Perl

perl v5.16.3				    2013-06-07				    Net::LDAPI(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 07:51 PM.