1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00

set better defaults for ldap

* LDAP params is a new field. It contains the kwargs that will be passed
to the python class specified by group type. The default for group type
is MemberDNGroupType. The required params are now those in the defaults.
This commit is contained in:
chris meyers 2018-04-10 15:44:08 -04:00
parent ea900b6f95
commit 00cd6cb384

View File

@ -306,6 +306,7 @@ def _register_ldap(append=None):
category=_('LDAP'),
category_slug='ldap',
default=collections.OrderedDict([
('member_attr', 'member'),
('name_attr', 'cn'),
]),
placeholder=collections.OrderedDict([