LDAP Config from Extra settings broke

187 views
Skip to first unread message

Nicholas Tripp

unread,
Mar 7, 2023, 10:09:47 AM3/7/23
to AWX Project
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. 


AWX Project

unread,
Mar 8, 2023, 3:06:04 PM3/8/23
to AWX Project
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

Nicholas Tripp

unread,
Mar 9, 2023, 10:14:21 AM3/9/23
to AWX Project
Reply all
Reply to author
Forward
0 new messages