In FreeIPA, when browsing to the web UI, a failed authentication session should redirect to http://<servername>/browserconfig.html
. Mine does not.
Maybe I'm over complicating things, but the default FreeIPA Apache ipa.conf
appears to disable non-kerberos sessions for the directory.
Following is excerpt of ipa.conf
# Protect /ipa and everything below it in webspace with Apache Kerberos auth
<Location "/ipa">
AuthType Kerberos
AuthName "Kerberos Login"
KrbMethodNegotiate on
KrbMethodK5Passwd off
KrbServiceName HTTP
KrbAuthRealms <servername>
Krb5KeyTab /etc/httpd/conf/ipa.keytab
KrbSaveCredentials on
KrbConstrainedDelegation on
Require valid-user
ErrorDocument 401 /ipa/errors/unauthorized.html
</Location>
Unfortunately, this does not work on my server. When I fail authentication, I get a 404 Not Found message instead. I'm not sure why.