Skip to content

Instantly share code, notes, and snippets.

@mzeier
Last active March 9, 2018 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mzeier/7f73887821b0b289bc8715925d5671ea to your computer and use it in GitHub Desktop.
Save mzeier/7f73887821b0b289bc8715925d5671ea to your computer and use it in GitHub Desktop.
[
"ou=Users,o=blah,dc=jumpcloud,dc=com",
"SCOPE_SUBTREE",
"(uid=%(user)s)"
]
[
"ou=Users,o=blah,dc=jumpcloud,dc=com",
"SCOPE_SUBTREE",
"(objectClass=groupOfNames)"
]
2018-03-08 23:15:51,738 DEBUG django_auth_ldap Created Django user mcubed
2018-03-08 23:15:51,739 DEBUG django_auth_ldap Populating Django user mcubed
2018-03-08 23:15:51,739 ERROR django_auth_ldap Caught Exception while authenticating mcubed
Traceback (most recent call last):
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django_auth_ldap/backend.py", line 339, in authenticate
self._get_or_create_user()
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django_auth_ldap/backend.py", line 570, in _get_or_create_user
signal_responses = populate_user.send(self.backend.__class__, user=self._user, ldap_user=self)
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 193, in send
for receiver in self._live_receivers(sender)
File "/usr/lib/python2.7/site-packages/awx/sso/backends.py", line 351, in on_populate_user
ldap_user._get_groups().get_group_dns()
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django_auth_ldap/backend.py", line 704, in _get_groups
self._groups = _LDAPUserGroups(self)
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django_auth_ldap/backend.py", line 768, in __init__
self._init_group_settings()
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django_auth_ldap/backend.py", line 781, in _init_group_settings
raise ImproperlyConfigured("AUTH_LDAP_GROUP_SEARCH must be an LDAPSearch instance.")
ImproperlyConfigured: AUTH_LDAP_GROUP_SEARCH must be an LDAPSearch instance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment