[30488] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Using Apache with mod_auth_kerb

daemon@ATHENA.MIT.EDU (Russ Allbery)
Mon Dec 1 20:15:19 2008

To: kerberos@mit.edu
In-Reply-To: <gnus-86ljuz31i7.fsf@blight.43-1.org> (Ansgar Burchardt's message
	of "Tue\, 02 Dec 2008 00\:43\:28 +0100")
From: Russ Allbery <rra@stanford.edu>
Date: Mon, 01 Dec 2008 17:14:08 -0800
Message-ID: <87vdu3idjz.fsf@windlord.stanford.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

Ansgar Burchardt <ansgar@2008.43-1.org> writes:

> I have a small problem with mod_auth_kerb and Firefox 3.0:  While
> authenticating via Kerberos works fine from a computer located in the
> same domain, I cannot get Firefox to authenticate from my home computer.
>
> I have a Kerberos ticket and Konqueror handles the Kerberos
> authentication just fine, but Firefox seems to have problems.  So far I
> have only found that the option
>     network.negotiate-auth.trusted-uris
> has to be set by me (I set it to `https://example.com', the web server I
> wish to authenticate to is `https://www.example.com'.  I have also tried
> different combinations).  All other `negotiate-auth' related settings
> still have their default values.

After you try to visit the web site in question, run klist.  Does an
HTTP/* ticket for the web server show up in your ticket cache?  If so,
something is going wrong with the Negotiate-Auth part of Firefox's code;
if not, you probably have a more basic problem with mapping the web server
to an existing Kerberos principal.

Make sure that your realm mappings are correct in your /etc/krb5.conf
file, for example.  That's often the problem.

> I am also not quite sure what the network.negotiate-auth.delegation-uris
> is supposed to do.  Will it pass the TGT to the server?

Yes.  Be very careful with this, since it gives the server full access to
do anything Kerberized as you.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post