Bug 5768 - mod_auth_ntlm_winbind and %{LA-U:REMOTE_USER}
mod_auth_ntlm_winbind and %{LA-U:REMOTE_USER}
Status: NEW
Product: mod_auth_ntlm_winbind
Classification: Unclassified
Component: module
0.1
Other Linux
: P3 critical
: ---
Assigned To: Samba Bugzilla Account
Gerald (Jerry) Carter
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-17 09:59 UTC by laurent rahuel
Modified: 2009-04-04 08:02 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description laurent rahuel 2008-09-17 09:59:51 UTC
Hi,

Is there any way to configure mod_auth_ntlm_winbind and apache 2.2 to be able to use %{LA-U:REMOTE_USER} within a rewriterule ?

I applied the patch located here (http://lists.samba.org/archive/samba-technical/2007-April/052709.html) but no REMOTE_USER variable is send with this king of rewrite rule :

RewriteRule ^/(.*) http://127.0.0.1:8080/$1?%{QUERY_STRING}&ntlm_remote_user=%{LA-U:REMOTE_USER}

On the other hand, trying to access the $_SERVER['REMOTE_USER'] within a local php scripts works fine.

Not being able to use mod_auth_ntlm_winbind from apache in front of another server is a big issue.

Regards

Laurent Rahuel