bloodhound-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arthur Kahlich <>
Subject Re: How do I get bloodhound to use REMOTE_USER from Apache?
Date Tue, 16 Dec 2014 06:25:22 GMT
Hmm.  It looks like what I want is working with very little effort on my
part.  All I did was to leave out the from the <VirtualHost ...>
definition the <LocationMatch> section and use a <Directory> section
that looks like:

    # This DefineExternalAuth sets this host to use pwauth for user
    # validation via PAM.  Communication is via pipe to stdin and stdout.
    DefineExternalAuth pwauth pipe /usr/bin/pwauth

   WSGIDaemonProcess bh_tracker user=bloodhound
   WSGIScriptAlias /bloodhound

   <Directory /opt/bloodhound/environments/main/site/cgi-bin>
     WSGIProcessGroup bh_tracker
     WSGIApplicationGroup %{GLOBAL}
        Allow From All
        AuthBasicProvider external
        AuthType Basic
        AuthName "Password Required"
        AuthExternal pwauth
        Options FollowSymLinks Indexes
        Require valid-user

where I have the authnz_external plugin to Apache installed and
configured elsewhere.

This works for me, but YMMV!


On 12/15/2014 09:37 PM, Arthur Kahlich wrote:
> I have Apache already setup to only allow access to users that are
> logged in, so I don't need authentication in bloodhound. Instead, I want
> it to use their username and if it doesn't exist in bloodhound's user
> DB, to create a new user by that username.
> Surely somebody has done this already?
> I tried searching, but apparently the default repository for
> is mis-configured, because I see
> error messages stating that "/x1/svn/asf/bloodhound does not appear to
> be a Subversion repository." and apparently the answers I need are in
> code comments.
> I will try looking through the code to see if the capability is there
> with modifying any code, but would appreciate any pointers that someone
> a lot more familiar with this code could give.
> Art

Arthur Kahlich
CTO - Hardware
Mill Computing, Inc.
Box 1531
Palo Alto CA 94302-1531
Phone: (408)480-3680
Faster, Cooler, Safer Computing.

View raw message