Open techBeck03 opened 1 year ago
Have you tried turning on LDAP debugging to see what, if any, messages you get in the logs on login? https://docs.ansible.com/automation-controller/latest/html/administration/ldap_auth.html#enabling-logging-for-ldap
@john-westcott-iv I set the logging level to DEBUG
however i still don't see anything LDAP related in the logs when i attempt to login.
Maybe this has to do with not mapping the member
attribute of LDAP groups and so all your groups appear empty to Django?
You could try this for LDAP Group Type Parameters:
{
"name_attr": "cn",
"member_attr": "member"
}
@john-westcott-iv I set the logging level to
DEBUG
however i still don't see anything LDAP related in the logs when i attempt to login.
same here, any luck getting this to work?
@cilq , I believe that's only needed if the LDAP Group Type is MemberDNGroupType
. I have tried MemberDNGroupType
as well with "member_attr": "member"
but have the same non-working result. For the notes on this issue i specified the LDAP Group Type as ActiveDirectoryGroupType
so the member_attr
is not needed (I don't even think it's allowed). Thanks
Please confirm the following
security@ansible.com
instead.)Bug Summary
I cannot get LDAP authentication to work despite my settings working on previous AWX versions.
AWX version
22.3.0
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
No response
Operating system
Ubuntu 22
Web browser
Chrome
Steps to reproduce
LDAP Settings
LDAP Group Type:
ActiveDirectoryGroupType
LDAP Bind DN and Password are set
LDAP Require Group:
LDAP User Search:
LDAP Group Search:
LDAP User Attribute Map:
LDAP Group Type Parameters:
LDAP User Flags By Group:
LDAP Organization Map:
Expected results
Users in the
WWDC AWX Admins
AD group should be able to login with their samAccountName and password successfully.Actual results
Login attempt fails and i see this in the web container logs:
Additional information
No response