AD integration - MemberDNGroupType is invalid

25 views
Skip to first unread message

Samer Odeh

unread,
Nov 23, 2018, 5:21:20 AM11/23/18
to Ansible Project
Hello eveyone,

I am trying to configure AD for AWX authentication, however I am getting below error:


2018-11-22 10:50:10,721 WARNING  awx.conf.settings The current value "'MemberDNGroupType'" for setting "AUTH_LDAP_GROUP_TYPE" is invalid.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/awx/conf/settings.py", line 436, in _get_local
    return field.run_validation(value)
  File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/rest_framework/fields.py", line 523, in run_validation
    value = self.to_internal_value(data)
  File "/usr/lib/python2.7/site-packages/awx/sso/fields.py", line 413, in to_internal_value
    return cls(**params_sanitized)
TypeError: __init__() takes at least 2 arguments (2 given)



In the UI, it is bit strange that I can choose MemberDNGroupType as drop-down menu is empty:

Untitled picture.png





In LDAP Group Type parameters, I typed:

{
 
"name_attr": "cn"
}


But that didn't resolve the issue. Any ideas please ?

I am running:

 _____________ 
<  AWX 2.1.0  >
 ------------- 
        \   ^__^
         \  (oo)\_______
            (__)      A )\/\
                ||----w |
                ||     ||
Ansible 2.7.1


Thanks

Kai Stian Olstad

unread,
Nov 23, 2018, 5:33:17 AM11/23/18
to ansible...@googlegroups.com
On 23.11.2018 11:21, Samer Odeh wrote:
> I am trying to configure AD for AWX authentication, however I am
> getting
> below error:

This is a list about Ansible and not AWX.
AWX have there own list, search and you'll find it.


--
Kai Stian Olstad

Samer Odeh

unread,
Nov 23, 2018, 5:42:00 AM11/23/18
to ansible...@googlegroups.com
oh sorry 
Reply all
Reply to author
Forward
0 new messages