LDAP Config from Extra settings broke

Been using the same config and was working up until recently:

  • setting: AUTH_LDAP_GROUP_TYPE

value: ‘ActiveDirectoryGroupType(name_attr=“cn”)’

but now seeing error in awx_web logs:

rest_framework.exceptions.ValidationError: [ErrorDetail(string=‘Missing required parameters in AUTH_LDAP_GROUP_TYPE_PARAMS.’, code=‘missing_parameters’)]
2023-03-06 20:46:00,808 WARNING [c3296ac387b5420cb7ffea58ecb75df2] awx.conf.registry Unable to retrieve default value for setting “AUTH_LDAP_GROUP_TYPE”.

I don’t see anything in docs about this changing and have tried adding member_attr. but same issue.

not sure what version was working previously, but for newer AWX you should have the name_attr=“cn” as the value for the AUTH_LDAP_GROUP_TYPE_PARAMS setting

AUTH_LDAP_GROUP_TYPE should just be “ActiveDirectoryGroupType”

AWX Team

ansible/awx-operator: An Ansible AWX operator for Kubernetes built with Operator SDK and Ansible. :robot: (github.com)

good to know. i put in a pull request to update the docs