Questions tagged [pyldap]
10 questions
4
votes
1 answer
Cannot install pyldap with python3.6 pip
I'm trying to install pyldap using python3.6 pip in debian:
pip install pyldap
But I'm facing this error:
----------------------------------------
Failed building wheel for pyldap
Running setup.py clean for pyldap
Failed to build pyldap
Installing…

kianoosh
- 610
- 6
- 22
4
votes
1 answer
How can I install the pyldap package on Windows?
I've been trying to add the pyldap package using pip from the command line :
pip install pyldap
But i'm getting this error :
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHAVE_SASL…

Kinetic
- 2,640
- 17
- 35
1
vote
0 answers
Installing django_auth_ldap / pyldap
Installing Python libraries on my Mac is normally relatively problemless, but with my Windows 10 PC I encounter more headaches.
I'd like to setup an LDAP Authentication Backend in Django, and I've already used ldap3 to confirm a bind, with…

pymat
- 1,090
- 1
- 23
- 45
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
1 answer
Odoo 14 on windows can't enable LDAP Authentication
I tried to enable LDAP Authentication on ODOO 14 which is install on Windows Server and when click save i got the following error
"Error:
Odoo Server Error
Traceback (most recent call last):
File…

Rami Ahmad
- 3
- 1
- 2
0
votes
1 answer
Unable to set TIMEOUT for ldap in Python 2.7
I'd like to setup a "timeout" for the ldap library (python-ldap-2.4.15-2.el7.x86_64) and python 2.7
I'm forcing my /etc/hosts to resolve an non existing IP address in
order to raise the timeout.
I've followed several examples and took a look at…

Miguel Ortiz
- 1,412
- 9
- 21
0
votes
0 answers
How can I setup the Airflow AD/LDAP superuser_filter and data_profiler_filter with RBAC turned on?
I am using Airflow 1.10.10, and I have successfully set up AD/LDAP integration internally while also having rbac = True in the airflow configuration file. I set this up by following this resource…

Nadim Younes
- 800
- 1
- 6
- 11
0
votes
0 answers
getting error on installing package pyldap-2.4.45 on pypy3 environment
cc -pthread -shared build/temp.linux-x86_64-3.5/Modules/LDAPObject.o build/temp.linux-x86_64-3.5/Modules/ldapcontrol.o build/temp.linux-x86_64-3.5/Modules/common.o build/temp.linux-x86_64-3.5/Modules/constants.o…

Vicky Gupta
- 576
- 6
- 13
0
votes
1 answer
pyldap AD authentication bind_s vs simple_bind_s
I am using pyldap to connect to AD server
pyldap is providing two functions bind_s() and simple_bind_s()
can any one explain me when to use bind_s() and simple_bind_s() and which one is best.

Mallik Sai
- 186
- 1
- 4
- 16
0
votes
1 answer
Python LDAP ValueError: option error when using set_option(ldap. OPT_X_TLS_CACERTDIR)
I'm using the django authentication backend django-auth-ldap to authenticate against an LDAP service. When attempting to set the path to the directory containing the ssl certificate;
ldap.set_option(ldap.OPT_X_TLS_CACERTDIR, '/etc/ssl/certs')
I get…

Liz
- 1,421
- 5
- 21
- 39