Re: How do you handle a kdc that has gone offline...
Henry B. Hotz <hotz <at> jpl.nasa.gov>
2007-04-10 18:07:29 GMT
I'm not exactly answering your question, but here's some things to
consider:
If you're doing http-negotiate, then the web server never talks to
the KDC (a.k.a. Domain Controller) and it won't know to do anything
different. If you're falling back to basic-auth with a Kerberos
password, then mod_auth_kerb will get a distinctive error back from
the libraries and could, theoretically, do something special.
For normal http-negotiate the web browser is supposed to get the
ticket itself from the KDC so it can send the authentication
response. That's why you get an internal IE error instead of a web
server error. (I assume you don't plan to fix every browser out there.)
In theory the web server could check the KDC before sending the
initial auth-required message. I think this would be more of an
Apache question than a mod_auth_kerb question though.
On Apr 10, 2007, at 10:26 AM, Mark Yalenti wrote:
> Hi Gents,
> Suppose the following. Mod_auth_kerb is installed and working like
> a champ. I use it to secure a single file that has a redirector in
> it. (Because based on whether or not you authenticate i will take
> some action) Anyhow.
>
> Lets say that my domain only has one DC (crappy domain i know but
> its just a story right now).
> Now lets say someone tries to access that secured page while the DC
> or KDC is not available.
>
> The result is an internal IE error page. I would much rather
> redirect the browser to some other page that does not require
> authentication.
>
> How do i get apache to realize that the KDC is unavailable and make
> it redirect the web page, or post and ErrorDocument before IE takes
> over a puts up an internal error page, namely "The page cannot be
> displayed".
>
> Thanks!
>
> Mark
>
> <<...>>
> <Yalenti, Mark.vcf>
------------------------------------------------------------------------
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz <at> jpl.nasa.gov, or hbhotz <at> oxy.edu
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV