Wednesday 25 May 2016

Apache Directory Studio LDAP Browser

In my previous post, I explained about Apache Directory Studio. In this post, I am going to explain about Apache Directory Studio LDAP Browser. LDAP browser is part of Apache Directory Studio. You no need to install it separately.

Create new LDAP Server
Open the Apache Directory Studio, It opens window like below.


There is a Restore (Double Rectangle button) button available in top left corner of the window. Click the Restore button. It opens window like below.


See the Left bottom corner. There are two sub tabs Connection, LDAP Server available. Go to the LDAP Server tab, Right click on it.


Go to New -> Server. It opens window like below. Give server name as “server1” and press Finish.


Right click on the server you created just now and click “Create Connection” button.


Once your connection is successful, you can see the LDAP Browser view is on the top left. DIT shows the hierarchical content of the directory. You may expand and collapse the tree.



As you see, Apache Directory Studio creates dc=example, dc=com as default domain. I am going to show you how to create following organisation structure using Android Directory Studio.
Let us create Organizational Units (OU) first
Right click on “dc=example, dc=com”, New -> New Entry.
Use existing entry as template, Press Next.
Type ‘o’ in the text field "Available Object Classes", you can see the Organization Unit field, select the field Organizational Unit, add it to the Selected Object classes section.

Since currently we are interested in creating organizational unit under dc=example, dc=com, remove the Object class domain from selected object classes. ‘top’ is the super class for all object classes, just keep it like that. Press Next.

Update RDN fields like ou = people. Press Next.

You can able to see following kind of screen. Press Finish.

Add a person to Organizational unit people
Right click on ou=people, New -> New Entry.
You will get a screen like below. Press Next.

Type p in the "Available Object classes" field, you can able to see Person, Select Person and add it to Selected Object classes section.

Make sure, selected Object classes section has only top, person object class in it.

Press Next. Update parent field like "ou=people,dc=example,dc=com",  Add New RDN like "cn=Senthil". Press Next.



Since for a person, attribute sn (surname) is compulsory, provide some surname, and press Finish.

After adding new person, DIT is updated like below.
Use the same procedure, to add new organizational unit machines and three persons Sailu, Hari, Krishna under ou=people.

After adding new organizational unit machines and three persons Sailu, Hari, Krishna under ou=people, DIT looks like below.

Note
By default server is in stop state. You can start it, by Right clicking on it -> Run.

Reference



Previous                                                 Next                                                 Home

No comments:

Post a Comment