A small LDAP authenticator for Apache HTTPD and ProFTPD. It reads two lines from stdin: the username and the password. The exit code tells whether the credentials are correct or not.
Differently from other LDAP authentication modules, this module does not require any credentials in the configuration. It just tries to log in to the LDAP server, and run "whoami".
The group and server are static. Change them in the .c
file.