diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2015-10-21 17:06:30 +0200 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2015-10-21 17:06:30 +0200 |
commit | 59c3aaa95d68771f19e26e1b5f81b13f8f1e41ca (patch) | |
tree | 6cbef1536120b61afadeff2b1030b7348eabe34c | |
parent | d5c2d76b7e873ab05f179c32b1140743e3e672e0 (diff) | |
download | CGI-sessions-negotiate-mod_auth_gssapi.tar.gz CGI-sessions-negotiate-mod_auth_gssapi.tar.xz CGI-sessions-negotiate-mod_auth_gssapi.zip |
Add Kerberos authentication via mod_auth_gssapi on /application/login, redirects to /application/login2 to show the form if it fails.negotiate-mod_auth_gssapi
-rw-r--r-- | auth_kerb.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/auth_kerb.conf b/auth_kerb.conf new file mode 100644 index 0000000..e76cb39 --- /dev/null +++ b/auth_kerb.conf @@ -0,0 +1,11 @@ + +LoadModule auth_gssapi_module modules/mod_auth_gssapi.so + +<Location /application/login> + AuthType GSSAPI + AuthName "Kerberos Login" + GssapiCredStore keytab:/etc/http.keytab + require valid-user + ErrorDocument 401 '<html><meta http-equiv="refresh" content="0; URL=/application/login2"><body>Kerberos authentication did not pass.</body></html>' +</Location> + |