jengelh
Wird es für dieses Feature noch eine offizielle Dokumentation geben? Ich kriege es mit den vorhandenen Informationen in diesem Thread und in https://docs.grommunio.com/man/http.8gx.html nicht zum Laufen.
Ich bin mir sicher, dass die grundsätzlichen Kerberos-Parameter funktionieren und meine krb5.keytab korrekt ist. Denn:
# kinit -k HTTP/grommunio.firma.de
Kein Fehler.
# klist
Ticket cache: DIR::/run/user/0/krb5cc/tkt
Default principal: HTTP/grommunio.firma.de@FIRMA.LOCAL
Valid starting Expires Service principal
11/06/25 16:28:32 11/07/25 02:28:32 krbtgt/FIRMA.LOCAL@FIRMA.LOCAL
renew until 11/07/25 16:28:32
Passt. Dann:
# /usr/lib/squid/negotiate_kerberos_auth_test grommunio.firma.de
Token: YIIGgAY....
Der letzte Baustein muss die Gromox-Konfiguration sein, die noch nicht passt. Ich habe in der /etc/gromox/http.cfg:
http_auth_spnego=yes
gss_program=/usr/lib/squid/negotiate_kerberos_auth -s HTTP/grommunio.firma.de@FIRMA.LOCAL
Das funktioniert nicht. Eine Anmeldung in Outlook ist nicht mehr möglich. Es wird in einer Endlosschleife nach einem Passwort gefragt. Bisher habe ich nicht verstanden, wie ich den Squid-Helper sinnvoll debuggen kann.
Die native Implementierung habe ich auch probiert:
http_auth_spnego=yes
http_krb_service_principal=HTTP/grommunio.firma.de@FIRMA.LOCAL
Ebenso probiert ohne "@FIRMA.LOCAL"
Dann steht in journalctl, sobald Outlook versucht mit GSS zu authentifizieren:
Nov 06 16:37:52 grommunio gromox-http[23525]: E-9996: Unable to acquire credentials handle: No credentials were supplied, or the credentials were unavailable or inaccessible
Nov 06 16:37:52 grommunio gromox-http[23525]: E-9996: Unable to acquire credentials handle: No key table entry found matching HTTP\/grommunio.firma.de/firma.local@
Hier wird also der konfigurierte SPN nicht korrekt interpretiert.