--- auth_ldap.c.old	Mon Mar 17 18:59:38 2003
+++ auth_ldap.c	Mon Mar 17 19:07:02 2003
@@ -569,7 +569,7 @@
     auth_ldap_log_reason(r, "Too many failures connecting to LDAP server");
     RELMUTEX(conf->mtx);
     RELMUTEX(sec->ldc->mtx);
-    return 0;
+    return HTTP_INTERNAL_SERVER_ERROR;
   }
   if (!auth_ldap_connect_to_server(r)) {
     RELMUTEX(conf->mtx);
