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

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>
</VirtualHost>

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.