On Thursday, August 6, 2015 at 3:22:19 PM UTC-7, Robert Jacobson wrote:
>
>
> It's been that way the whole time.
>

I think you probably don't need or want to use remote-user-auth.py, the 
plugin for "authentication behind a proxy". The solution seems to be useful 
for the case when Trac is running in a different process and the Apache 
environment is not available to Trac.

In your case Trac is running in Apache and the REMOTE_USER variable is 
available in the environment. This is the variable that the LoginModule 
uses for login, so you are probably better off disabling 
remote-user-auth.py.

Based on what I understand about Apache configuration, the key here seems 
to be figuring out how to set the Location block. Normally the 
authentication method (1) goes in the block, but I don't understand how 
this will work with SiteMinder.

Would the following make any sense, after disabling remote-user-auth.py?

<Location "/trac/login">
  Require valid-user
</Location>

Maybe we are approaching this wrong though. In the configuration guide for 
MoinMoin they implement redirects (2).

(1) http://trac.edgewall.org/wiki/TracModWSGI#UsingBasicAuthentication
(2) https://moinmo.in/AuthMarket/SiteminderAuthentication

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to