Error
A restart of the LDAP server without a restart of the lighttpd server causes the mod_auth ldap provider to fail
Systems to use
$OpenLDAP: slapd 2.2.13, lighttpd 1.4.13
Steps to create
1. Secure a page with ldap auth
2. Start openldap, then start lighttpd
3. Authenticate
4. Shutdown open ldap
5. Attempt to log in. You should receive the following error
2007-03-21 16:03:25: (mod_auth.c.624) ldap: Can't contact LDAP server
2007-03-21 16:03:25: (http_auth.c.860) password doesn't match for / tnine
6. Restart ldap
7. Attempt to log in. You should receive the following error. Note that lighttpd does not try to re-establish connection to the LDAP server
2007-03-21 16:03:47: (http_auth.c.759) ldap ...
2007-03-21 16:03:47: (http_auth.c.860) password doesn't match for / tnine
8. Restart lighttpd, the authorization now works.