You should use django-auth-ldap. It will give you the ability to bind ldap
attributes with the attributes from your user model using a dict inside
settings. It’ll also get the users’ groups and create those groups inside
Django. So try plugging that in and come back if you get stuck. All you
Hi, I am a beginner django programmer.
I would like to authenticate users of my web application to an ldap server
(which has about 1000 users defined).
Not all users of the ldap server must be able to access the web application
(only 50 ldap users must have access to the web application).
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
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
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:
2009/2/18 João Olavo Baião de Vasconcelos <joaool...@gmail.com>:
> 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
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
7 matches
Mail list logo