Good catch! I just fixed it and re-tried and it works now. I had to get past the group search but ultimately my mispellings caught me up. Thanks for all the help James!
On Tuesday, October 10, 2017 at 3:10:39 PM UTC-4, James Schneider wrote:
-- On Tuesday, October 10, 2017 at 3:10:39 PM UTC-4, James Schneider wrote:
On Oct 10, 2017 11:55 AM, "Ken Jenney" <kje...@gmail.com> wrote:I fixed the DN for the service account:
AUTH_LDAP_BIND_DN = "UID=netbox,CN=users,DC=kenset,DC=priv" I've tried at least a 100 different things so far and nothing is getting me there.
from django_auth_ldap.config import LDAPSearch, PosixGroupTypeAUTH_LDAP_GROUP_SEARCH = LDAPSearch("dc=kensnet,dc=priv", ldap.SCOPE_SUBTREE, (objectClass=posixGroup)") I also just noticed that the dc= values are different between your BIND_DN and GROUP_SEARCH as well.kensnet vs. kesnet-James
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ecda93e5-bc47-4425-99f6-b18bb317995b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment