Navigation

python-ldap:win32

2.3.10

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 ( http://bowmansolutions.com/mingw-openldap/)

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

Latest version:

Compiled using MinGW with:

  • openldap-2.4.19
  • openssl-0.9.8l
  • cyrus-sasl-2.1.22 
  Historical versions:
  • python-ldap-2.3.4.win32-py2.5.exe . Done with typical "bdist_wininst" but statically linked so there is no need for *.dll files. That is the one I use at work.
  • python-ldap-2.3.4.win32-py2.5-setup.exe. Packaged with Inno Setup. It is shared version and it includes the required *.dll that should end up in "site-packages" together with _ldap.pyd.
  • python-ldap-2.3.4.zip. Same as above but without an installer. Simply unzip into your "site-packages" directory preserving folder structure. Done for Vista users that had trouble running the setup.