Error authenticating RHEL4 apache from Win 2k3 AD Kerberos

Nabeel Moidu nabeelmoidu at gmail.com
Mon Nov 19 03:19:10 EST 2007


On Nov 19, 2007 11:14 AM, Nabeel Moidu <nabeelmoidu at gmail.com> wrote:
...............
> Now I've configured Apache as follows :
> [root at test ~]# cat /etc/httpd/conf/httpd.conf | grep Realm -B 8 -A 10
> # features.
> #
> <Directory />
>     Options FollowSymLinks
>     AllowOverride None
> AuthType Kerberos
> AuthName "Kerberos Login"
> KrbAuthRealm foo.bar
> KrbServiceName HTTP
> KrbMethodNegotiate on
> Krb5KeyTab /var/www/krb5.keytab
> KrbVerifyKDC off
> #require user apache1 at FOO.BAR
> require valid-user
>
> </Directory>
>
> My keytab file is as follows
>
> [root at test ~]# cat /var/www/krb5.keytab
> HTTP/test.foo.bar at FOO.BAR
> [root at test ~]# ll /var/www/krb5.keytab
> -rw-r--r--  1 apache apache 36 Nov 19 10:08 /var/www/krb5.keytab
> [root at test ~]#

The path entry in the apache httpd.conf is /var/ww/krb5.keytab. I'd
just tried moving it from /etc/krb5.keytab to /var/www but it didn't
make any difference.

 Thanks in advance
 Nabeel



More information about the Kerberos mailing list