apache 2.2.3 and headers management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi *,
I'm trying to setup Apache2 to pass auth headers to Zope
The problem is that I can use mod_ntlm to authenticate users against
Active Directory but I can't pass the REMOTE_USER variabile to Zope
(event with basic auth).
Apache passes (null).
I recompiled Apache with the SECURITY_HOLE_PASS_AUTHORIZATION flag but
the situation is the same.

I tried all the possibles solution discovered over the net...

In particular it doesn't work with:

    <Location />
        AuthName NTAuth
        AuthType NTLM
        NTLMAuth on
        NTLMAuthoritative on
        NTLMServer myserver
        NTLMLockfile /tmp/_my.lck
        require valid-user
        RequestHeader add REMOTE_USER %{LA-U:REMOTE_USER}e
    </Location>

but it works if I statically set the variable (e.g.):

    <Location />
        AuthName NTAuth
        AuthType NTLM
        NTLMAuth on
        NTLMAuthoritative on
        NTLMServer myserver
        NTLMLockfile /tmp/_my.lck
        require valid-user
        RequestHeader add REMOTE_USER "anyuser"
    </Location>

Any possibile solutions?

-- 
Davide Corio                                davide.corio<at>redomino.com
Redomino S.r.l.            C.so Monte Grappa 90/b - 10145 Torino - Italy
Tel: +39 011 19502871 - Fax: +39 011 19791122 - http://www.redomino.com/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux