Skip to content Skip to sidebar Skip to footer

Python-ldap Integration

I need to integrate Python with LDAP. I just need to choose the best way to make Python talk to LDAP. I understand there are many ways to do this, including using a prebuilt toolki

Solution 1:

I have successfully used the python-ldap library to communicate with LDAP servers and Windows Active Directory. You can download it from pypi here http://pypi.python.org/pypi/python-ldap/2.3.10

Solution 2:

A couple days ago I posted some code for accessing LDAP using win32com and ADO in this thread:

Does Python 3 have LDAP module?

It's for Python 3, but can be used in 2 if you redo the print functions to be statements.

Also, as mentioned in the comments on that thread, check PyPI for a list of other LDAP modules:

http://pypi.python.org/pypi?%3Aaction=search&term=ldap&submit=search

Solution 3:

The package pointed to by Mr. janglin is very effective A good series of articles by Matt Butcher, link to first one http://www.packtpub.com/article/installing-and-configuring-the-python-ldap-library-and-binding-to-an-ldap-directory

python-ldap site is http://www.python-ldap.org/ It has links to code, documentation and examples.

Cheerio

Aalok

Post a Comment for "Python-ldap Integration"