Install Apache Directory Server 2.0.0-M16 in Ubuntu 14.04

The Apache Directory team has just announced the release of ApacheDS 2.0.0-M16, the sixteenth milestone towards a 2.0 version. ApacheDS is an extensible and embeddable directory server entirely written in Java, which has been certified LDAPv3 compatible by the Open Group. Besides LDAP it supports Kerberos 5 and the Change Password Protocol. It has been designed to introduce triggers, stored procedures, queues and views to the world of LDAP which has lacked these rich constructs.

[button link=”http://www.sysads.co.uk/2014/05/apache-directory-server-release-note/” style=”info” color=”success”]ApacheDS 2.0.0-M16 Release Notes[/button]

Install Apache Directory Server

Step 1: Install JVM v7

sudo apt-get install openjdk-7-jdk

Step 2: Download and Install Apache DS

32bit

wget http://mirror.gopotato.co.uk/apache//directory/apacheds/dist/2.0.0-M16/apacheds-2.0.0-M16-i386.deb

sudo dpkg -i apacheds-2.0.0-M16-i386.deb

64bit

wget http://mirror.gopotato.co.uk/apache//directory/apacheds/dist/2.0.0-M16/apacheds-2.0.0-M16-amd64.deb

sudo dpkg -i apacheds-2.0.0-M16-amd64.deb

– Then reboot machine after install

Step 3: Start Apache DS

sudo /etc/init.d/apacheds-2.0.0-M16-default start

Step 4: Configure Apache DS

– To configure Apache DS, edit the config.ldif file

sudo pico /var/lib/apacheds-2.0.0-M16/default/conf/config.ldif

Step 5: Test Connection using Apache Directory Studio

– Launch Apache Directory Studio, click LDAP > New Connection…

– Enter Connection Name; Hostname; Port will be 10389 (Port 389 is a privileged port and will be rejected if the server was started using the apacheds user account)

 

– Under Authentication, enter following

Bind DN or user: uid=admin,ou=system (This is default)

Bind password: secret (This is default)

 

– Click Finish

 
comments powered by Disqus