user does not satisfy AUTH_LDAP_REQUIRE_GROUP
in my logs (I have debugging enabled).
This is what the complaining config looks like:
AUTH_LDAP_REQUIRE_GROUP = "CN=Users,DC=internal,DC=example,DC=net".
This is the same AD config we use on other servers that work correctly. What is different about the Django setup?
Please let me know if any additional info is needed to lend a hand.
Thanks!
search_s('DC=internal,DC=example,DC=net', 2, '(sAMAccountName=ross)') raised OPERATIONS_ERROR({'msgtype': 100, 'msgid': 2, 'result': 1, 'desc': 'Operations error', 'ctrls': [], 'info': '000004DC: LdapErr: DSID-0C090A5C, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v4563'})
search_s('DC=internal,DC=example,DC=net', 2, '(sAMAccountName=%(user)s)') returned 0 objects:
Authentication failed for ross: failed to map the username to a DN.
AUTH_LDAP_BIND_DN = "CN=service.ldap,CN=Users,DC=internal,DC=example,DC=net"
AUTH_LDAP_BIND_PASSWORD = "*******"
in my config. service.ldap is the bind user. I what in the world is wrong with that?