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
- 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.
- Ensure that the hardware profiles associated with the server
are enabled.
- Open the Control Panel on Windows.
- Double click . The Apacheds Properties (Local Computer)
dialog is displayed.
- Click the Log On tab. If any
of the profiles listed are disabled. Select the profile name and click Enable.
- Click OK
- 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.
- 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:
- 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).
- Make a backup copy of the server.xml file.
- 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>
- 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>
- Save the updated server.xml file.
- Start the directory server.