From f9e5f21d4ef89ab11ea8378a432a0428e53156a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Silke=20Ja=CC=88nichen?= Date: Fri, 13 Nov 2026 12:09:08 +0100 Subject: [PATCH] Maintenance: Clear client-sent SSO headers in the package Apache listing. The Apache listing of the package installation now drops the Remote-User and X-Forwarded-User request headers a client sends before it sets X-Forwarded-User from the authenticated user, as the Docker listing already does. The guide then produces a safe configuration on its own, independent of the virtual host configuration the reader started from. --- appendix/single-sign-on.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/appendix/single-sign-on.rst b/appendix/single-sign-on.rst index 6156bc53..fdf01ee0 100644 --- a/appendix/single-sign-on.rst +++ b/appendix/single-sign-on.rst @@ -449,6 +449,9 @@ lines! Keep only the one you need. GssapiLocalName On require valid-user + # inbound client values never survive + RequestHeader unset Remote-User + RequestHeader unset X-Forwarded-User RewriteEngine On RewriteCond %{LA-U:REMOTE_USER} (.+) RewriteRule . - [E=RU:%1,NS] @@ -475,6 +478,9 @@ lines! Keep only the one you need. Krb5KeyTab /etc/httpd/zammad.keytab # CentOS require valid-user + # inbound client values never survive + RequestHeader unset Remote-User + RequestHeader unset X-Forwarded-User RewriteEngine On RewriteCond %{LA-U:REMOTE_USER} (.+) RewriteRule . - [E=RU:%1,NS]