Thursday, June 4, 2009

Setting up Apache Directory Server as the LDAP User Store

First we need to download Apache Directory Studio from here and install.

1. Start - Apache Directory Studio.

2. File --> New and select Apache DS Server

3. Window --> Show Views --> Other... select Servers

4. Right click on the 'wso2identity' server on the 'Servers' view and select 'Open Configuration'. Note that default port being set to 10389.

5. Window --> Show Views -->Connections and right click on the 'Connections' view to select 'New Connection...'.

6. Set hostname and port number of the server we just created.

7. Default password of admin is 'secret'.

8. Done. View the LDAP Browser. Now we are going to add a new user.Right click on 'ou=users' and select 'New Entry'.

9. Select 'inetOrgPerson' from left and add.

10.Set the attribute values for the user.

11.That's it - we are done.

4 comments:

Sn0wcr4sh said...

where did the pictures go?

Sn0wcr4sh said...

Where did the pictures go?
All I see is an image from flickr, saying that the pictures are unavailable.
Maybe better use a picasa album, which you can manage with the same account as your blogger account.

prerana said...

Hi,
I have 2 queries. Please can help or direct me regarding these: We are currently using WSO2 4.0 M8. We created some users and were using Apache Studio to view the Apache DS schema embedded in the WSO2 identity server
We were able to see the user details, claims, uid etc. But, we are not able to see the gid (POSIX GID - Group id).
And we were not able to add it as a new attribute as it is not displayed in the attribute Type list (drop down box). But the Schema Browser tab shows gidNumber attribute type in it.

We want to view the GiDs of the users. Please do tell us a way to add gid as a new attribute so I can view the user’s Gid.

2. Furthermore I also want to add PAM as an "ou" and use PAM for authentication and Mapping LDAP users to Linux user groups how can I go about this.
Thanks in advance.

prerana said...

Hi,
I have 2 queries. Please can help or direct me regarding these: We are currently using WSO2 4.0 M8. We created some users and were using Apache Studio to view the Apache DS schema embedded in the WSO2 identity server
We were able to see the user details, claims, uid etc. But, we are not able to see the gid (POSIX GID - Group id).
And we were not able to add it as a new attribute as it is not displayed in the attribute Type list (drop down box). But the Schema Browser tab shows gidNumber attribute type in it.

We want to view the GiDs of the users. Please do tell us a way to add gid as a new attribute so I can view the user’s Gid.

2. Furthermore I also want to add PAM as an "ou" and use PAM for authentication and Mapping LDAP users to Linux user groups how can I go about this.
Thanks in advance.