Just want to share some few tricks. I used stunnel to encrypt the traffic:
Here's my stunnel command on the server running qmail-ldap (ldap client): stunnel -P /tmp/ -c -d 636 -r ldap.server.com:636 Here's my /var/qmail/control/ldapserver: localhost:636 Of course, the OpenLDAP server has to be listening on port 636. Qmail-LDAP+OpenLDAP+OpenSSL+stunnel, what a great combination.... I hope this helps. Thanks.
