[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-unattended/var/se3/unattended/install/linuxaux/opt/perl/lib/site_perl/5.10.0/Net/ -> LDAPI.pm (source)

   1  # Copyright (c) 2003-2004 Derrik Pates <dpates@dsdk12.net> and Graham Barr
   2  # <gbarr@pobox.com>. All rights reserved.  This program is free
   3  # software; you can redistribute it and/or modify it under the same
   4  # terms as Perl itself.
   5  
   6  package Net::LDAPI;
   7  @Net::LDAPI::ISA = ( 'Net::LDAP' );
   8  $Net::LDAPI::VERSION = "0.03";
   9  
  10  use strict;
  11  use Net::LDAP;
  12  
  13  sub new {
  14    shift->SUPER::new(@_, scheme => 'ldapi');
  15  }
  16  
  17  1;
  18  
  19  __END__
  20  
  21  =head1 NAME
  22  
  23  Net::LDAPI - use LDAP over a UNIX domain socket
  24  
  25  =head1 SYNOPSIS
  26  
  27   use Net::LDAPI;
  28  
  29   $ldapi = Net::LDAPI->new('/var/run/ldapi');
  30  
  31   # alternate way
  32   use Net::LDAP;
  33  
  34   $ldapi = Net::LDAP->new('ldapi://');
  35  
  36  =head1 DESCRIPTION
  37  
  38  Communicate using the LDAP protocol to a directory server using a UNIX
  39  domain socket. This mechanism is non-standard, UNIX-specific and not
  40  widely supported.
  41  
  42  All the normal C<Net::LDAP> methods can be used with a C<Net::LDAPI>
  43  object; see L<Net::LDAP> for details.
  44  
  45  =head1 CONSTRUCTOR
  46  
  47  =over 4
  48  
  49  =item new ( [SOCKPATH] )
  50  
  51  Create a new connection. SOCKPATH can optionally be specified, to
  52  specify the location of the UNIX domain socket to connect to. See
  53  L<Net::LDAP/new> for details.
  54  
  55  =back
  56  
  57  =head1 SEE ALSO
  58  
  59  L<Net::LDAP>,
  60  L<IO::Socket::UNIX>
  61  
  62  =head1 BUGS
  63  
  64  None yet.
  65  
  66  =head1 AUTHOR
  67  
  68  Derrik Pates E<lt>dpates@dsdk12.netE<gt>
  69  
  70  =head1 COPYRIGHT
  71  
  72  Copyright (c) 2003-2004, Derrik Pates and Graham Barr. All
  73  rights reserved. This library is free software; you can redistribute
  74  it and/or modify it under the same terms as Perl itself.
  75  
  76  =cut


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1