LDAP: Need login of application/servers from a certain group only
Posted
by
Geo
on Server Fault
See other posts from Server Fault
or by Geo
Published on 2012-10-10T08:37:13Z
Indexed on
2012/10/10
9:40 UTC
Read the original article
Hit count: 262
ldap
|authentication
We need to configure LDAP for login to different servers and applications. We have created all users and different groups as follows:
dn: dc=ldapserver,dc=local
dn: ou=people,dc=ldapserver,dc=local
ou: people
dn: uid=geo,ou=people,dc=ldapserver,dc=local
dn: uid=user,ou=people,dc=ldapserver,dc=local
dn: ou=groups,dc=ldapserver,dc=local
dn: cn=server,ou=groups,dc=ldapserver,dc=local
member: uid=geo,ou=people,dc=ldapserver,dc=local
dn: cn=website,ou=groups,dc=ldapserver,dc=local
member: uid=user,ou=people,dc=ldapserver,dc=local
We need scenario in such a way that the users that are member of server need only login to server (that is geo) and users that are member of website need only login to websites (That is user “user”).
Please let me know how we can configure it. For login site we tried by giving DN as cn=website,ou=groups,dc=ldapserver,dc=local and Login Attribute as uid and also member but it is not working.
Can anyone please help us on it. Also please let us know is there any other option for accomplish this scenario.
Thanks Geo
© Server Fault or respective owner