Aug 21, 2010

With a little bit of delay I have compiled and uploaded to PyPI the version 2.3.12.

I have switched my MinGW environment to use TDM-GCC distribution and rebuild the dependencies using this new tool chain. Everything seems to work as before.  Also for the first time there is a version for Python 2.7.

There is an alternative location for downloading python-ldap and many other Windows extensions maintained by Christoph Gohlke.  He provides amd64 versions too.

Nov 07, 2009

Recompiled all with openssl-0.9.8l

Nov 01, 2009

Michael has published 2.3.10 version yesterday. Today I have followed up with win32 build. Please note that the SASL support in the build is rather tenuous. The distribution has the basic support included but for it to be useful one has to have "mechanism plug-ins".

I did not find a nice way of including the plug-ins in the distribution. If you need them you can download the collectionI have been testing with. The plug-ins originate from Pidgin build instructions and from Subversion SDK.

If you unzip the collection onto the C: drive the plugins will have a chance to work. libsasl uses hard coded path (C:\CMU\bin\sasl2) to find them.

I believe the windows registry can be used to specify an alternate search path but I did not test the idea any further.

May 25, 2009

I have been given access to python-ldap on PyPI. From now on that is where the latest builds will be published. I will keep this page up but only for historical purpose.

Apr 10, 2009

Updated to 2.3.7. This time SASL support has a chance to work. The previous build was a dud in this respect.

I went back to building "bdist_wininst" with the required DLLs included into package. The DLLs end up in site-packages alongside _ldap.pyd

Feb 28, 2009

Updated to 2.3.6.

I have managed to compile with SASL support this time. Or so I think. I do not have a site to test it against.

Jan 28, 2009

Alternative location for compiled extensions is here. It is much more comprehensive.

Dec 29, 2008

Added an experimental version compiled for Python-2.6

It has Works on My Machine badge.

July 12, 2008

Updated to 2.3.5

I have decided to publish only the "bdist_msi" build with "-static" option. I will leave the previous version as is but from now on only MSI version will be kept up to date.

March 29, 2008

Updated to 2.3.4

March 01, 2008

I have got a report from Aaron Spike that the extensions did not work over SSL. It has motivated me to recompile whatever was published here before. But before I could do that I had to set up a clean MinGW environment. It never is for the faint of heart but luckily Jonathan Bowman has prepared very good instructions (

Aaron was nice enough to set up a site I could test against. So here it is with working SSL this time.

The latest version is on PyPI.
It is compiled using MinGW with:

  • openldap-2.4.23
  • openssl-1.0.0a
  • cyrus-sasl-2.1.22 
Alternative location for the extensions is here.