Two authClients are now available:
authClient_ldap and authClient_authdaemon.
- autClient_authdaemon is the old authClient that communicated to the authDaemon.
- authClient_ldap is a new authClient that communicates to an LDAP server over SSL.
authClient_ldap requires the use of a config file to specify the LDAP server and port You will need to edit the source of authClient_ldap.c to specify the path to the config file.
You need the OpenLDAP dev libraries and TLS libraries:
libldap2-tls
libldap2-dev
It's a good idea to have apxs installed, which should come with your apache-dev package.
To compile: gcc authClient_ldap.c -o authClient -lldap
Example httpd.conf:
AuthName "foo"
AuthType Basic
AuthAnyUserProg "/usr/local/itlab/bin/authClient"
