Switch to python-ldap again
pyldap is meanwhile an outdated and deprecated fork, and the Python 3.x compatibility fixes have been merged back to python-ldap. Change-Id: I4b793a9a72b84005a57cc1e3f6f89a483d7eda5c
This commit is contained in:
parent
71bd15c83c
commit
f1d30bce9b
13
README.rst
13
README.rst
|
@ -1,7 +1,7 @@
|
|||
ldappool
|
||||
========
|
||||
|
||||
A simple connector pool for pyldap.
|
||||
A simple connector pool for python-ldap.
|
||||
|
||||
The pool keeps LDAP connectors alive and let you reuse them,
|
||||
drastically reducing the time spent to initiate a ldap connection.
|
||||
|
@ -13,7 +13,7 @@ The pool has useful features like:
|
|||
- configurable max lifetime for connectors
|
||||
- a context manager to simplify acquiring and releasing a connector
|
||||
|
||||
**You need pyldap in order to use this library**
|
||||
**You need python-ldap in order to use this library**
|
||||
|
||||
Quickstart
|
||||
::::::::::
|
||||
|
@ -30,7 +30,7 @@ context manager with the *connection* method::
|
|||
|
||||
|
||||
The connector returned by *connection* is a LDAPObject, that's binded to the
|
||||
server. See https://github.com/pyldap/pyldap/ for details on how to use a connector.
|
||||
server. See https://pypi.org/project/python-ldap/ for details on how to use a connector.
|
||||
|
||||
|
||||
ConnectionManager options
|
||||
|
@ -58,10 +58,3 @@ The **connection** method takes two options:
|
|||
**default: None**
|
||||
- **passwd**: password used to connect. If None, uses the pool default's.
|
||||
**default: None**
|
||||
|
||||
|
||||
History
|
||||
:::::::
|
||||
|
||||
Prior to v2.0.0 ``ldappool`` required ``python-ldap``. As of v2.0.0 this
|
||||
library now required ``pyldap``, a python 3 compatible fork of ``python-ldap``.
|
||||
|
|
|
@ -19,7 +19,7 @@ pep257==0.7.0
|
|||
pep8==1.5.7
|
||||
pyflakes==0.8.1
|
||||
Pygments==2.2.0
|
||||
pyldap==2.4.20
|
||||
python-ldap==3.0.0
|
||||
python-mimeparse==1.6.0
|
||||
python-subunit==1.0.0
|
||||
pytz==2013.6
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# The order of packages is significant, because pip processes them in the order
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
pyldap>=2.4.20 # PSF
|
||||
python-ldap>=3.0.0 # PSF
|
||||
|
|
Loading…
Reference in New Issue