Skip to content

Configure OpenDJ

Pradeeban Kathiravelu edited this page Aug 1, 2018 · 14 revisions

Download and Install OpenDJ

$ git clone --recursive https://github.com/OpenIdentityPlatform/OpenDJ.git

$ mvn clean install -f OpenDJ/forgerock-parent

$ mvn clean install -f OpenDJ

The build zip can be found at OpenDJ/opendj-server-legacy/target/package/opendj-4.1.11-SNAPSHOT.zip

$ cd OpenDJ/opendj-server-legacy/target/package/opendj

$ ./setup

Use the port 10389 as the LDAP Listener port in the configuration.

Sample configurations:

Fully Qualified Hostname = docker.for.mac.host.internal

LDAP Listener Port = 10389

Administration connector port = 4444

LDAP secure access = disabled

Root User DN = cn=example.com

Password = root

docker.for.mac.host.internal is NOT set to 127.0.0.1 (or anything else) in /etc/hosts

You may choose to have Directory Data. You may use an LDIF file such as https://gist.githubusercontent.com/evolve2k/1133500/raw/dd23f0f9b317b3c18ac9337bc44034cefbed328e/ldif

Make sure that the DN matches.

Alternatively, you may also "Import Automatically Generated Sample Data."

Once the configuration is complete, open the OpenDJ Server control panel with the credentials you provided.

In our case, it is cn=example.com and root.

To start:

$ bin/start-ds

$ bin/control-panel

To stop:

$ bin/stop-ds

Clone this wiki locally