That's weird ... After a long debugging as I couldn't get django-auth-
ldap to authenticate, I realized that the AUTH_LDAP_BIND_DN is totally
different with called in self._bind_as(self.dn, password).
I get a self.dn = 'cn=cn\\=admin\\,dc\\=name\\,dc\\=org' when
AUTH_LDAP_BIND_DN = 'cn=admin,dc=name,dc=org'.
Means that I shouldn't write the "cn=" as it's auto prefixed (and the
example in
http://packages.python.org/django-auth-ldap/#auth-ldap-connection-options
is with a "cn="). For the \\ appended before the =, I still don't know
what to do... seems that in backend.py, we should call
django_auth_ldap.dn in config.py line 62.
I've got python 2.7.2, ldap 2.4.3, django_auth_ldap 1.0.12
I'm a bit lost here ... doesn't seem to work. Any help is appreciated,
thanks in advance !
> can someone push a "example" directory onhttps://
bitbucket.org/psagers/django-auth-ldap/src