#10 support for winldap

open
nobody
None
2
2008-04-10
2007-04-11
David Leonard
No

win32 users would benefit from python-ldap, but apparently openldap is hard to build on win32. not surprisingly, microsoft already have an RFC-like header (winldap.h) and library (wldap32.dll) which is reminiscent of old openldap API.

here is a proof-of-concept patch for making python-ldap build with winldap.h. I developed with mingw (gcc 3.4.5) which probably has a different winldap.h to the official MS platform SDK.

the resulting _ldap.dll causes an exception when you import it, but it's a starting point...

Discussion

  • David Leonard
    David Leonard
    2007-04-11

    patch against python-ldap HEAD

     
    Attachments
    • priority: 5 --> 2