You cannot post messages because only members can post, and you are not currently a member.
Description:
Discussions concerning the django-auth-ldap Python package.
|
|
|
Having Trouble getting django-auth-ldap and MS AD to play nice
|
| |
Here are my versions: cat /etc/centos-release: CentOS release 6.4 (Final) rpm -qa | grep Django Django-1.3.7-1.el6.noarch python --version Python 2.6.6 rpm -qa | grep python-ldap python-ldap-2.3.10-1.el6.x86_6 4 Django-auth-ldap: django-auth-ldap-1.1.4 My settings.py: import os import ldap from django_auth_ldap.config import LDAPSearch, GroupOfNamesType... more »
|
|
New built-in group type : organizationalRole
|
| |
Hi, First of all thank you for this great contribution to Django, great work ! I just wanted to contribute the below code I had to write to support a type of group I use to store roles : organizationalRole This objectclass is described in RFC 2256 and part of multiple LDAP implementation (OpenLDAP, ApacheDS ... ) so I thing it would be useful to... more »
|
|
no exception is raised when hitting LDAPError
|
| |
Hello, I'm not sure if I am correct here, please let me know if I'm wrong. Looking at the code [1], there is no exception raised when it hits LDAPError. I'd like to know in my webapp if the connection to LDAP is working, otherwise let the user know with the appropriate error message, plus log the error... more »
|
|
using a special attribute for groups support
|
| |
Hello, I am one of the infra guys of the Gentoo distribution. For groups support, we use a special multi-value attribute called gentooACL that has contents like $server.gentoo.org, ldapadmin.group, developer.group. The reason is that it covers a few cases that cannot be expressed with ou=groups, like:... more »
|
|
Django user does not have a profile to populate. LDAP Authentication
|
| |
Hi all, For some reason, my LDAP authentication quit working when I deployed my Django site to another server. Here are my settings: import ldap from django_auth_ldap.config import LDAPSearch ...AUTHENTICATION_BACKENDS = ( 'django_auth_ldap.backend.LDAP Backend', 'django.contrib.auth.backends. ModelBackend',... more »
|
|
Django1.5 and how to handle additional fields
|
| |
After Django 1.5 is now released I was wondering if there are already any plans how to handle additional user fields with django-auth-ldap. The current way to do this by using "AUTH_PROFILE_MODULE" will be not possible in some future: Deprecated in Django 1.5: With the introduction of *custom User models*<[link]>,... more »
|
|
AUTH_LDAP_REQUIRE_GROUP error in backend.py
|
| |
With the following platform python 2.7 Django 1.4.2 django_auth_ldap 1.1.3 python_ldap 2.4.10 and while using the following (sanitized) settings in my django app: AUTH_LDAP_SERVER_URI = "ldaps://path.to.myserver/" AUTH_LDAP_BIND_DN = '' AUTH_LDAP_BIND_PASSWORD = '' AUTH_LDAP_USER_DN_TEMPLATE = 'uid=%(user)s,ou=Users,dc=A,dc =B,dc=C'... more »
|
|
Populating django dataset
|
| |
Hi, How can I create mirror database of ldap on django without adding any separately? I am newbie on django and django ldap, thus looking for suggestion and help. Cheers, Sharma
|
|
|