...
The above command places the source under ldap-sample-app, from now on this directory will be referred as <ldap_home>.
At this point it is assumed that you have installed you can choose to install an LDAP client and you are capable of exporting/importing import/export an .ldif
file to a directory server. However, this is not required. Directions are provided if you choose to not install an LDAP client.
Add LDAP entries
Ensure that Geronimo is up and running and the Directory service is started.
To add entries manually
When you installed the Apache Geronimo-Apache Directory plugin you may have noticed a message on the console similar to the following:
No Format | ||
---|---|---|
| ||
WARN [ServerContextFactory] LDIF load directory '/Users/user1/geronimo-tomcat6-javaee5-2.1/var/ldif' does not exist. No LDIF files will be loaded.
|
This is because the directory server does not yet have any content. You can manually add the content necessary for the sample by including the ldap-sample.ldif from the sample source in the location specified in the message (<geronimo-home>/var/ldif/) and restarting the Geronimo server or optionally just the directory configuration in the server.
To add entries using an LDAP client
Start your LDAP client and create a new connection profile with the following values:
...