Kerberos working on the command line, not via apache

Discussion in 'Apache' started by bbbaldie, Jun 4, 2010.

  1. #1
    I have Kerberos authentication working flawlessly at tyhe command line of a CentOS4 server. However, apache2 seems totally unaware of it. Here's a snip0 from httpd.conf:

    LoadModule auth_kerb_module modules/mod_auth_kerb.so
    Code (markup):
    and here's an .htaccess file on a protected directory:

    AuthName "Kerberos Login"
    AuthType KerberosV5
    Krb5Keytab /var/www/auth_kerb.keytab
    KrbAuthRealm MYDOMAIN.COM
    KrbMethodNegotiate on
    KrbMethodK5Passwd on
    KrbSaveCredentials off
    KrbVerifyKDC off
    Require user MYDOMAIN\myusername
    
    Code (markup):
    I get served up a 401 page, never a challenge for a username/password.

    No error log notes, this from access.log:

    10.30.150.60 - - [04/Jun/2010:08:08:04 -0500] "GET /test HTTP/1.1" 401 472 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3 GTB7.0"
    Code (markup):
    It appears to me that apache is unaware of kerberos, even though the module successfully loads.

    Any idea what to try next?
     
    bbbaldie, Jun 4, 2010 IP
  2. bbbaldie

    bbbaldie Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm loading mod_auth_ntlm_winbind.so, could that cause problems with using Kerberos?
     
    bbbaldie, Jun 8, 2010 IP