It took me quite a lot of time to get python ldap to compile on osx (to use it for testing Plone's LDAPUserFolder). I needed to compile it from source as I'm using a local build of python instead of the standard fink or osx python. In the end it turned out to be not too difficult, if you know the magic incantations.
In fink, install the following:
Then download python ldap and edit its
setup.cfg file's library_dirs and include_dirs lines:
library_dirs = /sw/lib /sw/lib/sasl2 include_dirs = /sw/include /sw/include/sasl
Then you should be able to run
sudo python setup.py install just fine.
My name is Reinout van Rees and I work a lot with Python (programming language) and Django (website framework). I live in The Netherlands and I'm happily married to Annie van Rees-Kooiman.
Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):