diff options
Diffstat (limited to 'auth_kerb.conf')
-rw-r--r-- | auth_kerb.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/auth_kerb.conf b/auth_kerb.conf index 70b65a6..de82528 100644 --- a/auth_kerb.conf +++ b/auth_kerb.conf @@ -1,5 +1,6 @@ LoadModule auth_kerb_module modules/mod_auth_kerb.so +LoadModule authnz_pam_module modules/mod_authnz_pam.so <Location /application/login> AuthType Kerberos @@ -8,7 +9,7 @@ LoadModule auth_kerb_module modules/mod_auth_kerb.so KrbMethodK5Passwd Off KrbAuthRealms EXAMPLE.COM Krb5KeyTab /etc/http.keytab - require valid-user + 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> |