I'm trying to use LDAP as a central authentication mechanism. I have it fully working
with PAM and SASL for SMTP AUTH, IMAP, POP, SSH, FTP, and everything else.
Now the last thing I need is to get apache mod_ldap to talk to the ldap server so
that I can authenticate web users. The LDAP server won't handle simple binds
without SSL (this is intentional for security reasons), but, Apache keeps saying
that SSL is not available.
I've got the following LDAP related entries in my httpd.conf:
LoadModule ldap_module modules/mod_ldap.so
LoadModule auth_ldap_module modules/mod_auth_ldap.so
# LDAP Module
<IfModule util_ldap.c>
LDAPTrustedCA /usr/share/ssl/certs/cacert.pem
LDAPTrustedCAType BASE64_FILE
LDAPSharedCacheSize 200000
LDAPCacheEntries 1024
LDAPCacheTTL 600
LDAPOpCacheEntries 1024
LDAPOpCacheTTL 600
</IfModule>