Questions tagged [django-ldapdb]
7 questions
2
votes
1 answer
How to get django-ldapdb to recognize datasource as LDAP
I have followed the directions in the django-ldap README and I cannot seem to get django-ldapdb to act like it's making an LDAP query. The following has been edited on a brand new instance of Django v.2.1.2 using with Python 3.7:
Changes to…

JasonGabler
- 570
- 5
- 9
1
vote
0 answers
How to fix migration when upgrading from django-ldapdb 0.9.0 to django-ldapdb 1.3.0 (in debian buster)?
I ran into an issue when upgrading my web application from django-ldapdb 0.9.0 to 1.3.0 (because it is packaged in Debian Buster). It creates migrations that fail.
It seems that django-ldapd enforce dn as a primary key for the models (see here, but…

klafyvel
- 11
- 1
0
votes
1 answer
Can we check whether a user is part of an Organizational Units instead of Groups in Django LDAP?
In my LDAP directory, Users are added to Organizational Units instead of groups. How can I check whether a user is a part of an Organizational Unit using Django LDAP ?
My settings.py file:
AUTH_LDAP_SERVER_URI =…

alucor-it
- 133
- 3
- 15
0
votes
0 answers
Django - Ldap setting issue
import ldap
from django_auth_ldap.config
import LDAPSearch, GroupOfNamesType
Baseline configuration.
AUTH_LDAP_SERVER_URI = 'ldap://sub.domain.com'
AUTH_LDAP_BIND_DN = 'CN=Bind Account,CN=Users,DC=ad,DC=users,DC=com'
AUTH_LDAP_BIND_PASSWORD =…

selva316
- 11
- 4
0
votes
1 answer
Getting manager of manager of an employee using django-auth-ldap
i need some help if someone run into the same problem i am having right now, as i have been asked to add support a login using Active Directory, i have managed to succeed the login process and the models creations of users, and now i want to…

Farhani Walid
- 927
- 1
- 9
- 20
0
votes
0 answers
Error in python-ldap django-auth-ldap packages
I am actually installing 'python-ldap' and 'django-auth-ldap' packages on windows system to integrate my application with LDAP But getting below error
fatal error C1083: Cannot open include file: 'lber.h': No such file or directory

Vidya
- 3
- 4
0
votes
1 answer
How can I add/remove members from an LDAP group with django-ldapdb?
I currently use django-ldapdb to inspect an LDAP database. I can view users, and groups of the form DN: cn=chat,ou=groups,dc=example,dc=com with a member list attribute.
Can I additionally use it to add and remove members from an LDAP group? The…

lofidevops
- 15,528
- 14
- 79
- 119