diff options
-rw-r--r-- | auth_kerb.conf | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/auth_kerb.conf b/auth_kerb.conf index de82528..ea3eb6b 100644 --- a/auth_kerb.conf +++ b/auth_kerb.conf @@ -1,14 +1,11 @@ -LoadModule auth_kerb_module modules/mod_auth_kerb.so +LoadModule auth_gssapi_module modules/mod_auth_gssapi.so LoadModule authnz_pam_module modules/mod_authnz_pam.so <Location /application/login> - AuthType Kerberos + AuthType GSSAPI AuthName "Kerberos Login" - KrbMethodNegotiate On - KrbMethodK5Passwd Off - KrbAuthRealms EXAMPLE.COM - Krb5KeyTab /etc/http.keytab + GssapiCredStore keytab:/etc/http.keytab require pam-account wikiapp ErrorDocument 401 '<html><meta http-equiv="refresh" content="0; URL=/application/login2"><body>Kerberos authentication did not pass.</body></html>' </Location> |