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


perl-ldap documentation Contained in the perl-ldap distribution.

Index


Code Index:

NAME

Top

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

SYNOPSIS

Top

 use Net::LDAPI;

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

 # alternate way
 use Net::LDAP;

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

DESCRIPTION

Top

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.

CONSTRUCTOR

Top

new ( [SOCKPATH] )

Create a new connection. SOCKPATH can optionally be specified, to specify the location of the UNIX domain socket to connect to. See new in Net::LDAP for details.

SEE ALSO

Top

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

BUGS

Top

None yet.

AUTHOR

Top

Derrik Pates <dpates@dsdk12.net>

COPYRIGHT

Top


perl-ldap documentation Contained in the perl-ldap distribution.

# Copyright (c) 2003-2004 Derrik Pates <dpates@dsdk12.net> and Graham Barr
# <gbarr@pobox.com>. All rights reserved.  This program is free
# software; you can redistribute it and/or modify it under the same
# terms as Perl itself.

package Net::LDAPI;
@Net::LDAPI::ISA = ( 'Net::LDAP' );
$Net::LDAPI::VERSION = "0.03";

use strict;
use Net::LDAP;

sub new {
  shift->SUPER::new(@_, scheme => 'ldapi');
}

1;

__END__