Daily Archives: May 28, 2012

phpLDAPadmin with OpenDJ 2.4.5

phpLDAPadmin logoLooks like phpLDAPadmin works with OpenDJ out of the box. All I needed to change to get started was to replace port 389 with 1389. (I installed OpenDJ as my normal user.)

The following instructions worked for me on Ubuntu 12.04.

  1. Install phpLDAPadmin.
    Ubuntu for example has a phpldapadmin package.

    $ sudo apt-get install phpldapadmin
  2. Install Java.
    Ubuntu has an openjdk-6-jre package.

    $ sudo apt-get install openjdk-6-jre
  3. Install OpenDJ. Here’s how to start with 2.4.5 for example.
    $ cd Downloads/
    $ wget http://download.forgerock.org/downloads/opendj/2.4.5/OpenDJ-2.4.5.zip
    $ cd /path/to/
    $ unzip ~/Downloads/OpenDJ-2.4.5.zip
    $ ./OpenDJ-2.4.5/setup
  4. Edit the configuration if necessary.
    $ sudo vi /etc/phpldapadmin/config.php

    For example, if OpenDJ listens on port 1389, change the server port setting to:

    $servers->setValue('server','port',1389);

    You can make a number of other changes in the configuration file. For details, see http://phpldapadmin.sourceforge.net/wiki/index.php/Config.php

  5. Open phpLDAPadmin, login, and start to manage OpenDJ.
    phpLDAPadmin console

1 Comment

Filed under Directory Services and LDAP, Tools