Compiling OpenLDAP on Cygwin

OpenLDAP is an Open Source v3 implementation (clients, libraries, and servers).

Compiling it for on recent versions of without any extra libraries is simply a matter of doing:

./configure --disable-bdb --enable-ldbm --enable-ldap \
--enable-passwd --enable-shell

And then replacing bdb with ldbm for the database type in /usr/local/etc/openldap/slapd.conf.

Resources