What is LDAP ? A basic idea.
The Lightweight Directory Access Protocol(LDAP) is a client-server protocol for accessing directory protocol. It runs over TCP, typically in 389 port. A directory is an organized set of records. For an example a telephone directory is a set of subscribers with address and telephone numbers. An LDAP directory can be distributed among many servers on a net work.
Following image will help you to get a basic idea how it works.
Further more reference : Wikipedia : http://en.wikipedia.org/wiki/LDAP
What is Apache Directory Studio?
You can get more idea from the product site. Here it is. http://directory.apache.org/studio/index.html
Ask Google. You can find many more resources related to these topics. Well.. Lets move in to the main topic of this post.
1. Install Apache Directory Studio.
First of all downlaod the Apache Directory Studio from here. Then unzip the downloaded file. Next go to the Apache Directory Studio folder and start the IDE.
tar -xvzf ApacheDirectoryStudio-linux-x86_64-1.5.3.v20100330.tar.gz
2. Setup a new Server
2.1 Open Apache Directory Studio.
2.3 Then new server will be added to the Servers tab. By default it is not visible. To view the Server tab. Got to Window and select Show view. Then go to Others and select Servers.
3.1 First Connections tab to the IDE. For that got Window and select Show view as you did for the servers. Then Select Connections. Now you can see the Connections tab on the main window.
3.2 Then right click on it and select New Connection. Give a name to the connection, host name and the port. By default the port number is 10389. Click Next.
3.3 Then give the user and password details. Bind DN or user= uid=admin,ou=system and Bind password is secret. You can check whether given details are correct by click on Check Authentication.
Right click on the ou=users and click New -> New Entry.
Select Create Entry from Scratch and click next. Then select “inetOrgPerson” from the left side and add it. Then give the values for attributes for the user. and click finish.