gecko-dev/directory/perldap
leif e30dc9a68b *** empty log message *** 1998-08-13 09:28:05 +00:00
..
examples *** empty log message *** 1998-08-13 09:28:05 +00:00
test_api Removed a few stale files 1998-08-13 04:40:02 +00:00
API.pm *** empty log message *** 1998-08-13 09:15:00 +00:00
API.xs Fixed relatively stupid error on my part in the avref2berptrptr function. 1998-08-04 02:28:12 +00:00
ChangeLog - Lots of modifications, minor changes etc. 1998-08-09 01:16:55 +00:00
Conn.pm - Lots of modifications, minor changes etc. 1998-08-09 01:16:55 +00:00
Entry.pm - Lots of modifications, minor changes etc. 1998-08-09 01:16:55 +00:00
LDIF.pm - Lots of modifications, minor changes etc. 1998-08-09 01:16:55 +00:00
MANIFEST Removed a few stale files 1998-08-13 04:40:02 +00:00
MPL-1.0.txt *** empty log message *** 1998-07-21 02:32:13 +00:00
Makefile.PL *** empty log message *** 1998-08-13 09:15:00 +00:00
README Release Notes 1998-08-13 04:34:42 +00:00
Utils.pm - Lots of modifications, minor changes etc. 1998-08-09 01:16:55 +00:00
constant.h *** empty log message *** 1998-08-13 09:15:00 +00:00
test.pl *** empty log message *** 1998-08-13 09:15:00 +00:00
typemap *** empty log message *** 1998-08-13 09:15:00 +00:00

README

#############################################################################
#                                                                           #
#            PerLDAP v1.0 - A Perl Developers' Kit for LDAP                 #
#                                                                           #
#############################################################################


What is PerLDAP?
================

PerLDAP is a set of modules written in Perl and C that allow developers to
leverage their existing Perl knowledge to easily access and manage LDAP-
enabled directories.  PerLDAP makes it very easy to search, add, delete,
and modify directory entries.  For example, Perl developers can easily
build web applications to access information stored in a directory or
create directory sync tools between directories and other services.

PerLDAP is an open source development project, the result of a joint effort
between Netscape and Clayton Donley, an open source developer.  PerLDAP
currently provides the basic functions to allow Perl users to access and
manipulate directories easily.  Based on developer feedback and
involvement, PerLDAP will continue to evolve to include additional
functionality in future releases.

Installing PerLDAP Binaries
===========================

You will first need version 3.0 Beta 1 of the LDAP C SDK from Netscape.  This
is available from the DevEdge page at:
    http://developer.netscape.com/tech/directory/

You will also need Perl v5.005, available at http://www.perl.com/.  Earlier
versions will NOT work with the binaries.  If you wish to use v5.004, you
will need to compile PerLDAP from source.

On Unix (Solaris Only...HPUX, IRIX, AIX to follow):
  1. Be sure that the libraries from the C SDK are installed in locations
     referenced by the environment variable LD_LIBRARY_PATH.
  2. Save the file in a temporary location
  3. Unzip the file by entering the command:
      gunzip <filename>.tar.gz
  4. Untar the resulting tar file by entering the command:
      tar xvof <filename>.tar
  5. Locate the site install directory for Perl v5.005.  If you are unsure,
     this is likely the directory ending in 'site_perl' when executing the
     following command:
      perl -e 'print join("\n",@INC);'
  6. Execute the following command as the super-user (root):
      ./install-bin <site_lib_directory>

On Windows NT:
  1. Be sure that the DLL from the C SDK is installed in your system32
     directory.
  2. Save the file in a temporary location
  3. Unzip the file by entering the command:
      I don't have a tool for creating self-extracting archives...
  4. Locate the site install directory for Perl v5.005.  If you are unsure,
     this is likely the directory ending in 'site' when executing the
     following command:
      perl -e 'print join("\n",@INC);' 
  5. Execute the following command:
      install-bin <site_lib_directory>


Compiling the PerLDAP Sources
=============================

The source to PerLDAP is available on the Mozilla site at:

  http://www.mozilla.org/directory/

Instructions for building the source can be found in the INSTALL file
in the source distribution.


Getting Started
===============

Documentation for this module is in standard Perl 'pod' format.  HTML
versions of this documentation can also be found on the Netscape DevEdge
site at:  http://developer.netscape.com/tech/directory/.

Additionally, many good examples can be found in the 'examples' directory.


Modules and Examples Included
=============================

Mozilla::LDAP::API - Low level interface between Perl and the LDAP C API
Mozilla::LDAP::Entry - Perl methods for manipulating entry objects
Mozilla::LDAP::Conn - Perl methods for performing LDAP operations
Mozilla::LDAP::LDIF - Perl methods for utilizing LDIF
test_api/search.pl - Tests low level API search calls
test_api/write.pl  - Tests low level API write calls
test_api/api.pl - Tests ALL low level LDAPv2 calls
examples/lfinger.pl
examples/qsearch.pl
examples/monitor.pl
examples/ldappasswd.pl
examples/rmentry.pl


License/Copyright
=================

Portions by Netscape (c) Copyright 1998 Netscape Communications Corp, Inc.
Portions by Clayton Donley (c) Copyright 1998 Clayton Donley

Please read the MPL-1.0.txt file included for information on the Mozilla
Public License, which covers all files in this distribution.

Known Bugs
==========

There are a number of issues still outstanding at the time of release.  Most
of these are already in the process of being resolved.

 - There is a possible memory leak in the search routines.
 - The Rebind operation on NT does NOT work properly when set to a Perl
   function.  This is being investigated.
 - Some of the documentation is incomplete.