diff options
-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 e76cb39..ea3eb6b 100644 --- a/auth_kerb.conf +++ b/auth_kerb.conf @@ -1,11 +1,12 @@ LoadModule auth_gssapi_module modules/mod_auth_gssapi.so +LoadModule authnz_pam_module modules/mod_authnz_pam.so <Location /application/login> AuthType GSSAPI AuthName "Kerberos Login" GssapiCredStore keytab:/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> |