python-ldap Questions
4
I'm using python 2.7.6 and in my code I have a line:
import psycopg2.extensions
which I've installed using pip. Next, my editor tells me, that psycopg2 requires python_ldap=2.4.19.
However, in ...
Allisonallissa asked 29/11, 2016 at 17:2
5
Solved
I was installing Odoo 15 inside a Python virtual environment on Ubuntu 20.04. I've downloaded Odoo from the official GitHub repository and use Nginx as a reverse proxy.
after following the document...
Sanborne asked 14/3, 2023 at 18:15
4
I am trying to install python-ldap package using pip. I am getting the below error while executing pip install python-ldap. I tried installing the package corresponding to ubuntu 17.10 ( Artful ) a...
Poinsettia asked 8/6, 2019 at 12:16
3
Some background:
The project I'm working on uses python-ldap library. Since we are a mixed-OS development team (some use Linux, some macOS and some Windows), I'm trying to make the project build o...
Dooryard asked 6/4, 2020 at 4:14
27
Solved
When I run the following command:
sudo pip install python-ldap
I get this error:
In file included from Modules/LDAPObject.c:9:
Modules/errors.h:8: fatal error: lber.h: No such file or directory
...
Bazemore asked 22/1, 2011 at 14:44
3
Solved
Good day.
In advance, I apologize for my English, my national forums and resources did not help.
I am making a script that either changes or creates a user's password in AD
After studying the issue...
Courtship asked 10/10, 2011 at 17:40
4
Solved
I am using ldap module of python to connect to ldap server. I am able to query the database but I dont know how to retrieve the fields present in the database, so that I can notify the user in adva...
Notus asked 10/7, 2012 at 10:58
4
Solved
I am not having any luck finding answers on this, so here it goes.
When I attemtp to connect to an AD server using python-ldap, it appears to work successfully for some functions, and not for othe...
Michail asked 13/9, 2013 at 18:37
7
I'm validating user logins using python's ldap module.
When the login fails, I get a ldap.INVALID_CREDENTIALS login, but this can be either because of a wrong password or because the account is loc...
Fortnight asked 3/8, 2012 at 11:57
2
Solved
I'm writing a small script using python-ldap3 to generate dummy users and groups.
I'm having trouble linking a user with a group. After running this snippet there are no changes in my Active Direc...
Mcmichael asked 17/6, 2017 at 21:1
3
Basically trying to reset the user's password using LDAP python. I've gone through various posts here but no luck :(.
Tried using :
a) modify_s() - returns "No such object" every time. Tried wi...
Avian asked 27/7, 2016 at 3:30
2
Solved
I'm using python-ldap to query Active Directory
I have this DN
CN=Whalen\, Sean,OU=Users,OU=Users and Groups,DC=example,DC=net
That works fine as a base in a query, but if I try to use it in a...
Deer asked 30/9, 2016 at 15:2
2
Solved
I get an OBJECT_CLASS_VIOLATION when trying to add an attribute. Modifying an existing attribute works just fine (even this same attribute, if I add it from AD first, then mod it).
First I kinit a...
Hung asked 10/8, 2017 at 19:12
2
Solved
I am using the official python docker image for python 2.7. The application I am working with requires pyhon-ldap.
My dockerfile looked like this:
FROM python:2.7
ENV PYTHONUNBUFFERED 1
RUN mkdi...
Dedradedric asked 23/6, 2015 at 23:36
3
Solved
I am able to bind and query Active Directory via python-ldap without any issues except when it comes to adding or modifying attributes on AD. I can add the attribute but the encoding seems to be wa...
Gaal asked 9/12, 2015 at 21:35
2
Solved
Could you please advise on how to troubleshoot the attempt below;
am trying to bind to a ldap server, but in vain,
when I do
openssl s_client -CApath /etc/pki/ca-trust/source/anchors/ -connect .....
Yogini asked 24/3, 2015 at 15:6
1
Solved
I've been trying to use Python-LDAP (version 2.4.19) under MacOS X 10.9.5 and Python 2.7.9
I want to validate my connection to a given LDAP server after I've called the .start_tls_s() (or to have ...
Moneychanger asked 9/4, 2015 at 2:38
1
Solved
Background:
I am working on an API to centralize user creation and management for multiple resources(e.g. Google Apps, Dropbox, etc...).
On a Linux VM, I developed an API and web interface that al...
Ignitron asked 1/4, 2015 at 18:34
1
We've installed the python-ldap(2.4.19) module without errors and perform most of the operations successfully. However ldap.set_option always returns a exception when we try to load certificates to...
Compurgation asked 22/1, 2015 at 17:53
2
Solved
Python-LDAP + Redhat = Gnashing of Teeth
Recently, I spent a few hours tearing my hair (or what's left of it) out attempting to install python-ldap (via pip) onto a Redhat Enterprise server.
Here...
Bloemfontein asked 12/9, 2013 at 14:24
1
how can I avoid getting (undocumented) exception in following code?
import ldap
import ldap.sasl
connection = ldap.initialize('ldaps://server:636', trace_level=0)
connection.set_option(ldap.OPT_R...
Heterogamy asked 9/8, 2013 at 12:13
1
I am using Windows as my main python 2.7 development environment and I want to install python-ldap on a virtual environment.
The python-ldap package needs compiling :( and of course I can't compil...
Caddish asked 10/4, 2013 at 6:5
2
Solved
python-ldap newb here. I am trying to do this with the following sample code:
import ldap
## first you must bind so we're doing a simple bind first
try:
l = ldap.open("valid ip")
l.set_option(lda...
Piker asked 29/11, 2012 at 22:43
1
I want to change the userAccountControl and password of the AD user. User is already created in AD. The user is created with python-ldap module in AD and is in 'Disabled' state and with no password...
Vigorous asked 17/4, 2013 at 4:58
2
Is there a way to set timeout for "simple_bind_s" in python-LDAP manually? I have tested ldapObject.timeout = 10 it did not work for me. Any ideas?
Thanks in advance..
Vorous asked 13/7, 2011 at 13:44
1 Next >
© 2022 - 2024 — McMap. All rights reserved.