summaryrefslogtreecommitdiffstats
path: root/auth_kerb.conf
diff options
context:
space:
mode:
Diffstat (limited to 'auth_kerb.conf')
-rw-r--r--auth_kerb.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/auth_kerb.conf b/auth_kerb.conf
new file mode 100644
index 0000000..70b65a6
--- /dev/null
+++ b/auth_kerb.conf
@@ -0,0 +1,14 @@
+
+LoadModule auth_kerb_module modules/mod_auth_kerb.so
+
+<Location /application/login>
+ AuthType Kerberos
+ AuthName "Kerberos Login"
+ KrbMethodNegotiate On
+ KrbMethodK5Passwd Off
+ KrbAuthRealms EXAMPLE.COM
+ Krb5KeyTab /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>
+