I have been testing authentication using LDAP, it works fine for me when i provide a group where users are members of that group. I have been reading the documents but unfortunately unable to make the configuration scenario work when i have:
LDAP Require group: Top group where all the team groups will be present.
Top Group (Group-A)
|
|
----- AWX_ADMINS - All members are admin of AWX.
|
|
----- TeamA_Group - All members have limited access which is provided to the team.
|
|
----- TeamB_Group - All members have limited access which is provided to the team.
My Current configuration works for the top group with all the users are part of that group:
LDAP Group Type: MemberDNGroupType
LDAP Require Group: CN=AWX_ADMINS,OU=Groups,DC=dr,DC=svc,DC=company,DC=com
LDAP User Search:
[
“OU=People,DC=dr,DC=svc,DC=company,DC=com”,
“SCOPE_SUBTREE”,
“(sAMAccountName=%(user)s)”
]
LDAP Group Search:
[
“OU=Groups,DC=dr,DC=svc,DC=company,DC=com”,
“SCOPE_SUBTREE”,
“(objectClass=groupOfNames)”
]
LDAP Group Type Parameters:
{
“name_attr”: “cn”,
“member_attr”: “member”
}
LDAP User Flags By Group:
{
“is_superuser”: [
“CN=AWX_ADMINS,OU=Groups,DC=dr,DC=svc,DC=company,DC=com”
]
}
How can i modify the above config in such a way that i am able to allow the users who are not directly members of the group but are members of the nested group of the LDAP Require Group. Any pointers would be really helpful.