Wednesday, 25 May 2016

ApacheDS: Directory Server

ApacheDS is a directory server written in Java. One interesting thing about this is, you can embed this with your application and it is compatible with LDAPv3. It also supports Kerberos 5, Change Password Protocol; you can introduce triggers, stored procedures etc.,

Installing and Setting up ApacheDs on Mac
Since ApacheDs is completely written in Java, you should install Java first.

Step 1: Download ApacheDs from following location.

Step 2: Open the downloaded installable, It guides you through the GUI. On mac, ApacheDs is installed as a launchD service and starts at the time of system startup time.

How to start/stop the server?
Use the following command to unload the server.

sudo launchctl unload /Library/LaunchDaemons/org.apache.directory.server.plist

Use the following command to load the server.

sudo launchctl load /Library/LaunchDaemons/org.apache.directory.server.plist

Use the following command to start the server.

sudo launchctl start org.apache.directory.server

Use the following command to stop the server.

sudo launchctl stop org.apache.directory.server

By default the LDAP server listens on port 10389 (unencrypted or StartTLS) and 10636 (SSL). Usually many users run LDAP on port 389, to run the server on port 389, you should start it as root user. In next post, I am going to explain Apache Directory Studio. It is an Eclipse-based LDAP browser and directory client.

Reference



Previous                                                 Next                                                 Home

No comments:

Post a Comment