Menu

#26 kerberos not working with several ServerAlias in Vhost

Version 5.*
open
nobody
None
5
2015-10-29
2015-10-29
jerome
No

Hello,
In my vhost when I have several ServerAlias the kerberos authentication is not working.
If I make several vhosts each with one server that works.
How to have a vhost with several ServerAlias for Kerberos authentication work?
Thank you

System : Centos
mod_auth_kerb version 5.4 | krb5 system version 1.10

<virtualhost *:80="">
LimitRequestFieldSize 32768
LimitRequestLine 32768
ProxyIOBufferSize 32768
KeepAlive On
ProxyPreserveHost On</virtualhost>

ServerName  host
ServerAlias test.domaine.site.fr
ServerAlias test2.domaine.site.fr

<location "="">
AuthType Kerberos
AuthName "Kerberos Login"
KrbServiceName HTTP
KrbAuthRealms DOMAINE.LOCAL
Krb5Keytab /path/host.keytab
KrbMethodNegotiate on
KrbMethodK5Passwd on
Require valid-user
</location>

Discussion


Log in to post a comment.