Configuring LDAP-compliant software

Before you begin

For your business needs, we suggest you review a trial version of Tivoli® Directory Server, which can be downloaded from the following site: http://www-01.ibm.com/software/tivoli/products/directory-server/.

For detailed information on LDAP and the Tivoli Directory Server, see IBM® Redbook SG24-4986-01, which can be downloaded from the following site: http://www.redbooks.ibm.com/abstracts/sg244986.html.

About this task

You can use the ApacheDS directory server and Apache Studio client to run this sample. The instructions below are written specifically for ApacheDS 1.5.7 and Studio 1.5.3. If you use later versions, the sample might not run as configured. To install and configure ApacheDS and Studio for demonstration purposes, do as follows:

Procedure

  1. Download and install the ApacheDS 1.5.7 directory server and Studio 1.5.3 client located on the following web site: http://directory.apache.org/.

    For additional installation information, see the Basic User's Guide. A link to the Basic User's Guide is located in the left pane of the Download for Windows page.

  2. Ensure that the hardware profiles associated with the server are enabled.
    1. Open the Control Panel on Windows.
    2. Double click Administrative Tools > Services > Apacheds. The Apacheds Properties (Local Computer) dialog is displayed.
    3. Click the Log On tab. If any of the profiles listed are disabled. Select the profile name and click Enable.
    4. Click OK
  3. Verify that the directory server can be started. On the Services dialog, right-mouse click Apacheds and click Start.

    If the server started, stop it. If the server did not start, redo the procedure. If the server still does not start, you may need to find an alternative, LDAP-compliant server for demonstration purposes.

  4. To isolate the EGL sample data from any other data in the ApacheDS server, create a new partition in the server. To create a new partition:
    1. Go to the conf folder within the directory that you installed the ApacheDS 1.5.7 directory server (for example, c:\Program Files\Apache Directory Server\instances\default\conf).
    2. Make a backup copy of the server.xml file.
    3. Open the server.xml file with a text editor. Change the LDAP port property value to 389. The original value is 10389. The statement should look like the following example.
      <ldapServer id="ldapServer"...> 	
         ...
         <transports>
            <tcpTransport address="0.0.0.0" port="389" 
                          nbThreads="8" backLog="50" enableSSL="false"/>
            <tcpTransport address="localhost" port="10636" enableSSL="true"/>
         </transports>
         ...
      </ldapServer>
    4. Find the partitions property and add a new child entry for samplePartitionConfiguration as shown below.
      <partitions> 	
         ...
            <jdbmPartition id="sample" cacheSize="100" suffix="o=sample"
                           optimizerEnabled="true" syncOnWrite="true">
               <indexedAttributes>
                  <jdbmIndex attributeId="uid" cacheSize="100"/>
                  <jdbmIndex attributeId="ou" cacheSize="100"/>
                  <jdbmIndex attributeId="objectClass" cacheSize="100"/>
               </indexedAttributes>
            </jdbmPartition>
         ...
      </partitions>
    5. Save the updated server.xml file.
  5. Start the directory server.

Feedback