From a992e764131a1a42ca71d1a8b56509e37863ab03 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 74284aa9..3aae3348 100644 --- a/appendix/single-sign-on.rst +++ b/appendix/single-sign-on.rst @@ -482,6 +482,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] @@ -511,6 +514,9 @@ lines! Keep only the one you need. Krb5KeyTab /etc/httpd/zammad.keytab 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]