Subject: Re: mod_auth_kerb
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: netbsd-help
Date: 06/28/2005 13:07:43
Jukka Salmi --> netbsd-help (2005-06-28 12:50:59 +0200):
> Reading the notes I wrote down when installing mod_auth_krb5, I see now that
> I created a krb5-config script and put it to /usr/bin (some software expect
> it to be there...). Unfortunately NetBSD doesn't ship with such a file by
> default, but you can easily build it from src/crypto/dist/heimdal/tools. The
> script I'm using is attached.

FYI: in order to get negotiate auth to work with pkgsrc/www/firefox and
mod_auth_kerb I needed the krb5-config script (while building firefox), too.
Furthermore, I had to add the following line to firefox's PLIST:

	lib/${MOZILLA}/components/libnegotiateauth.${SO_SUFFIX}

After this, you need to specify the URIs you want to use negotiate-auth
for by adding

	user_pref("network.negotiate-auth.trusted-uris", "URIs");

(where URIs is a comma delimited list of URIs) to ~/.mozilla/.../prefs.js.

BTW, there's a GUI: direct firefox to `about:config'...


Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~