Tuesday, October 10, 2017

Re: LDAPSearch Troubleshooting



On Oct 10, 2017 11:55 AM, "Ken Jenney" <kjenney@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, PosixGroupType
AUTH_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/CA%2Be%2BciWRc%3Dk-LGQ3L_1uGx_s9YLZtpUHUtz96NkkhdwM9HPRZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment