Re: Authentication with LDAP

2009-02-19 Thread João Olavo Baião de Vasconcelos
Finally! =) I downloaded [1] and added it as a new class in django/contrib/auth/backends.py. And then edited settings.py: """ [...] AUTHENTICATION_BACKENDS = ( 'django.contrib.auth.backends.LDAPBackend', #'django.contrib.auth.backends.ModelBackend', ) import ldap LDAP_DEBUG = True LDAP_

Re: Authentication with LDAP

2009-02-19 Thread Antoni Aloy
2009/2/19 João Olavo Baião de Vasconcelos : > On Wed, Feb 18, 2009 at 7:17 PM, Antoni Aloy wrote: >> >> This is a quite nice tutorial, perphaps it would help you. >> http://www.carthage.edu/webdev/?p=12 > > Thanks for the advice, Antoni. > > I tried authenticating with LDAP using the python inter

Re: Authentication with LDAP

2009-02-19 Thread João Olavo Baião de Vasconcelos
On Wed, Feb 18, 2009 at 7:17 PM, Antoni Aloy wrote: > This is a quite nice tutorial, perphaps it would help you. > http://www.carthage.edu/webdev/?p=12 > Thanks for the advice, Antoni. I tried authenticating with LDAP using the python interpreter, and I got this error: >>> import ldap >>> l =

Re: Authentication with LDAP

2009-02-18 Thread Antoni Aloy
2009/2/18 João Olavo Baião de Vasconcelos : > Hi all, > > I'd like to login in Admin site and authenticate with LDAP. Is there a "most > used LDAP authentication backend"? > I found the backend ldapauth.py [1], that seems to be the one. Is this the > best solution? > > I see that in [2] that are m

Authentication with LDAP

2009-02-18 Thread João Olavo Baião de Vasconcelos
Hi all, I'd like to login in Admin site and authenticate with LDAP. Is there a "most used LDAP authentication backend"? I found the backend ldapauth.py [1], that seems to be the one. Is this the best solution? I see that in [2] that are many patches. Is the file in [1] updated, or do I have to ap