RETIRED, further work has moved to Debian project infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christian Heimes 126a543b27 slapd test helper: Support /etc/openldap and kill process at exit. 7 years ago
Build FWIW corrected typo in 8 years ago
Demo Python 3 doesn't have has_key. 7 years ago
Doc Bump up version to 2.4.20 8 years ago
Lib Python 3 compatibility after rebase 7 years ago
Modules Python 3 compatibility after rebase 7 years ago
Tests slapd test helper: Support /etc/openldap and kill process at exit. 7 years ago
.cvsignore *** empty log message *** 21 years ago
.gitignore Update .gitignore 7 years ago
CHANGES Prepare release 2.4.20 8 years ago
INSTALL Updated/completed dependencies 12 years ago Added PKG-INFO 13 years ago
PKG-INFO Empty file must be there 12 years ago
README Abandon old mailing list name 11 years ago
TODO Extract response controls in SASL bind responses 8 years ago
setup.cfg Correct typo in include_dirs 8 years ago [Py3] Fix renamed functions 7 years ago


python-ldap: LDAP client API for Python

What is python-ldap?

python-ldap provides an object-oriented API to access LDAP
directory servers from Python programs. Mainly it wraps the
OpenLDAP client libs for that purpose.

Additionally the package contains modules for other LDAP-related
stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 sub-schema, etc.).

Not included: Direct BER support

See INSTALL for version compability

See TODO for planned features. Contributors welcome.

For module documentation, see:

Quick usage example:
import ldap
l = ldap.initialize("ldap://my_ldap_server.my_domain")
l.search_s("o=My Organisation, c=AU", ldap.SCOPE_SUBTREE, "objectclass=*")

See directory Demo/ of source distribution package for more
example code.

Author(s) contact and documentation:

If you are looking for help, please try the mailing list archives
first, then send a question to the mailing list.
Be warned that questions will be ignored if they can be
trivially answered by referring to the documentation.

If you are interested in helping, please contact the mailing list.
If you want new features or upgrades, please check the mailing list
archives and then enquire about any progress.


Thanks to Konstantin Chuguev <Konstantin.Chuguev at>
and Steffen Ries <steffen.ries at> for working
on support for OpenLDAP 2.0.x features.

Thanks to Michael Stroeder <michael at> for the
modules ldif, ldapurl, ldap/schema/*.py, ldap/*.py and ldap/controls/*.py.

Thanks to Hans Aschauer <Hans.Aschauer at>
for the C wrapper schema and SASL support.

Thanks to Mauro Cicognini <mcicogni at> for the
WIN32/MSVC6 bits, and the pre-built WIN32 ldap.pyd.

Thanks to Waldemar Osuch <waldemar.osuch at> for contributing
the new-style docs based on reStructuredText.

Thanks to Torsten Kurbad <torsten at> for the
easy_install support.

Thanks to James Andrewartha <jamesa at> for
significant contribution to Doc/*.tex.

Thanks to Rich Megginson <rmeggins at> for extending
support for LDAPv3 controls and adding support for LDAPv3 extended

Thanks to Peter Gietz, DAASI for funding some control modules.

Thanks to Chris Mikkelson for various fixes and ldap.syncrepl.

These very kind people have supplied patches or suggested changes:

Federico Di Gregorio <fog at>
John Benninghoff <johnb at>
Donn Cave <donn at>
Jason Gunthorpe <jgg at>
gurney_j <gurney_j at>
Eric S. Johansson <esj at>
David Margrave <davidma at>
Uche Ogbuji <uche.ogbuji at>
Neale Pickett <neale at>
Blake Weston <weston at>
Wido Depping <wido.depping at>
Deepak Giridharagopal <deepak at>
Ingo Steuwer <steuwer at>
Andreas Hasenack <ahasenack at>
Matej Vela <vela at>

Thanks to all the guys on the python-ldap mailing list for
their contributions and input into this package.

Thanks! We may have missed someone: please mail us if we have omitted
your name.

$Id: README,v 1.25 2011/10/26 18:43:21 stroeder Exp $