-
Hello, I'm migration a legacy system from mod_kerberos to this module. And when I try to authenticate, it fails from time to time:
In the log, I can read, only when it fails:
When it success, there are nothing useful. Apache Conf
/etc/krb5.conf
/etc/kerberos.keytab
To be honest, I really don't know kerberos or GSS API, but I tried many things... I'm not sure, if it's the root issue, but I was not able to migrate the following config option
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Your configuration says the server name is:
And yet some client is trying to access it as In your keytab you have no entry for that last name, yet if it is a krb principal alias in the KDC it could be made to work by adding the If prod-01-isy.prod.com is not a principal alias in your KDC, then you have to fix your clients to not do canonicalization (which is insecure anyway). There isn't a direct replacement for KrbAuthRealms, if you have Realm Trusts and you want to allow users only from one specific realm I guess the only good option is to use GssapiLocalName to require user mapping and then trust those users, see the docs for the implications of using that option. |
Beta Was this translation helpful? Give feedback.
Your configuration says the server name is:
And yet some client is trying to access it as
HTTP/prod-01-isy.prod.com@
In your keytab you have no entry for that last name, yet if it is a krb principal alias in the KDC it could be made to work by adding the
ignore_acceptor_hostname
option in krb5.conf, see: man krb5.conf for detailsIf prod-01-isy.prod.com is not a principal alias in your KDC, then you have to fix your clients to not do canonicalization (which is insecure anyway).
Modern Linux clients set canonicalization off by default, I do not know what other OSs do exactly but I think both Windows and Mac should av…