Previous Contents Index Next |
iPlanet Directory Server Resource Kit 5.1 Tools Reference |
Chapter 28 Unsupported Utilities
This chapter gives a brief description of the utilities copied to the unsupported directory during the installation of iPlanet Directory Server Resource Kit.
PerLDAP
PerLDAP is a third-party tool that has libraries of Perl routines for accessing a directory server and performing LDAP operations. Further information about this tool is available at:
Only the replcheck.pl tool in the iPlanet Directory Server Resource Kit is dependent upon the PerLDAP libraries (see Chapter 22 "replcheck.pl," for more information).
- http://www.mozilla.org/directory/perldap.html
In order to use the PerLDAP libraries installed along with the iPlanet Directory Server Resource Kit, you must first build and install its libraries with the following procedure.
Building PerLDAP
In this procedure, installDir refers to the base directory of your iPlanet Directory Server Resource Kit installation. By default this is /opt/iPlanet. This procedure is also described in the file installDir /unsupported/perLdap/INSTALL.
Change directories to the PerLDAP installation:
You can then run any Perl script requiring the PerLDAP libraries as follows:% cd installDir /unsupported/perLdap
Run the Perl makefile found there as follows and enter the information in bold:
% perl Makefile.PL PREFIX=installDir LIB=installDir
PerLDAP - Perl 5 Module for LDAP
================================
Directory containing 'include' and 'lib' directory of the iPlanet
LDAP Software Developer Kit (default: /usr): installDir /lib/ldapcsdk
Using LDAPv3 Developer Kit (default: yes)? yes
Include SSL Support (default: yes)? yes
Located multiple libraries:
- libldap50.so
- libssldap50.so
- libprldap50.so
Libraries to link with(default:-LinstallDir /lib/ldapcsdk/lib -lldap50):
-LinstallDir /lib/ldapcsdk/lib -lssldap50 -lssl3 -lprldap50 -lplds4
-lplc4 -lnss3 -lnspr4 -lldap50 -lldif50 -llber50 -liutil50Writing Makefile for Mozilla::LDAP::API
Perl Scripts
The unsupported Perl scripts are small utilities that perform a variety of maintenance tasks. Some perform specific, programmed actions and will not work outside of their designated context. Others do not perform error checking and should be used only if you understand their behavior.iPlanet makes no claim as to the suitability or correctness of these scripts. Use them at your own risk. The scripts are provided solely as examples of Perl shell programming and examples of using PerLDAP routines to access a directory.
Previous Contents Index Next
Copyright 2002 Sun Microsystems, Inc.. All rights reserved.Last Updated April 15, 2002