httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Hart <tomh...@coopfed.org>
Subject [users@httpd] ldap unavailable 500 server error
Date Thu, 20 Dec 2007 18:39:52 GMT
Hello everybody. I'm sure some of you are at least somewhat familiar 
with the bug here: http://issues.apache.org/bugzilla/show_bug.cgi?id=39095

If you're not, the basic theory is that if there's not an auth call to 
the ldap server for 10 minutes, the server will return the wrong 
message. Here's an excerpt from the bugzilla.

"The problem is indeed the Microsoft SDK.  When the TCP RST comes in, instead of
returning back to the calling code an LDAP_SERVER_DOWN return code, it returns
LDAP_UNAVAILABLE, which according to the LDAP RFCs is wrong.  LDAP_UNAVAILABLE
is supposed to be a server return code telling the client, "I'm unavailable,
maybe I'm shutting down, maybe I'm in the middle of maintenance"."


There are a couple patches listed in the bugzilla, but unfortunately 
compiling apache is not an option I have at my disposal. For now I seem 
to be stuck waiting for another release of Apache that contains this 
fix. In the meantime I'd like to try to find a workaround to this.

It was suggested to me that I try to create something that tries to 
connect to the server and auth every five minutes. This seems like a 
pretty simple theory, but I'm not sure how to construct a script that 
will not only connect to the server, but send the authentication 
information as well. If I just query a page on the server, and don't 
send the password information, does it still try to connect to LDAP, or 
will it wait until it receives the u/p to connect? Anybody have any 
suggestions?

TIA for any assistance you can give me. This one has been getting rather 
bothersome :-)

-- 
Tom Hart
IT Specialist
Cooperative Federal
723 Westcott St.
Syracuse, NY 13210
(315) 471-1116 ext. 202
(315) 476-0567 (fax)


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message