<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I make Single Sign On work with mod_proxy in Security</title>
    <link>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11702#M143</link>
    <description>&lt;P&gt;+1 for recommending 'REMOTE-USER' vs 'REMOTE_USER' in web.conf. I spent an hour trying to figure this out, tried the &lt;CODE&gt;RequestHeader set REMOTE_USER %{REMOTE_USER}s&lt;/CODE&gt; trick, etc. I noticed that the SSO debug page at &lt;A href="http://localhost/en-US/debug/sso" target="_blank"&gt;http://localhost/en-US/debug/sso&lt;/A&gt; was seeing a header called 'Remote-User' but I could not get REMOTE_USER to work for the life of me.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 10:07:47 GMT</pubDate>
    <dc:creator>stefanlasiewski</dc:creator>
    <dc:date>2020-09-28T10:07:47Z</dc:date>
    <item>
      <title>How do I make Single Sign On work with mod_proxy</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11694#M135</link>
      <description>&lt;P&gt;We are trying to deploy splunk with SSO according to documentation found on &lt;A href="http://www.splunk.com/base/Documentation/4.1/Admin/Usesinglesign-onwithSplunk" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/4.1/Admin/Usesinglesign-onwithSplunk&lt;/A&gt;  but are hitting a wall.&lt;/P&gt;

&lt;P&gt;The suspicion is that mod_proxy does not proxy the remote_user variable needed by Splunk. Anyone know if this and true and known a way around this?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Apr 2010 06:06:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11694#M135</guid>
      <dc:creator>Alan_Bradley</dc:creator>
      <dc:date>2010-04-17T06:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make Single Sign On work with mod_proxy</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11695#M136</link>
      <description>&lt;P&gt;We don't require that the variable representing the user be remote_user.  You can configure the 'remoteUser' variable to say how your proxy server spells it.  To try to see what your proxy server might be sending, try accessing &lt;A href="http://YourSplunkServer:8000/debug/sso" rel="nofollow"&gt;http://YourSplunkServer:8000/debug/sso&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;See also: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Security/ConfigureSplunkSSO" rel="nofollow"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Security/ConfigureSplunkSSO&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Apr 2010 07:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11695#M136</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2010-04-17T07:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make Single Sign On work with mod_proxy</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11696#M137</link>
      <description>&lt;P&gt;Assuming your auth module provides a REMOTE_USER variable in the context of the apache request, you probably need to provide a line like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;RequestHeader set REMOTE_USER %{REMOTE_USER}s   
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In your reverse proxy configuration.&lt;/P&gt;

&lt;P&gt;For example, the following configuration might be used in an SSPI configuration for Apache:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;VirtualHost&amp;gt;
&amp;lt;Location /&amp;gt;
    Order allow,deny
    Allow from all

    AuthName "FOO.COM"
    AuthType SSPI
    SSPIPackage NTLM
    SSPIOfferSSPI On
    SSPIAuth On
    SSPIAuthoritative On
    SSPIOmitDomain On
    SSPIOfferBasic On
    require valid-user 
&amp;lt;/Location&amp;gt; 
# Proxy Configurations
ProxyVia On
ProxyPassInterpolateEnv On
&amp;lt;Proxy *&amp;gt;
    Order allow,deny
    Allow from all
&amp;lt;/Proxy&amp;gt;
ProxyPass / &lt;A href="http://foo.com:8000/" target="test_blank"&gt;http://foo.com:8000/&lt;/A&gt;
ProxyPassReverse / &lt;A href="http://foo2.com:8000/" target="test_blank"&gt;http://foo2.com:8000/&lt;/A&gt;
ProxyPassReverseCookieDomain foo.com foo2.com
ProxyPassReverseCookiePath / /
RequestHeader set REMOTE_USER %{REMOTE_USER}s   

&amp;lt;/VirtualHost&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Apr 2010 03:15:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11696#M137</guid>
      <dc:creator>Nate</dc:creator>
      <dc:date>2010-04-27T03:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make Single Sign On work with mod_proxy</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11697#M138</link>
      <description>&lt;P&gt;Based on Nates response I got SSO working with the following config in apache. The only difference is that we use ssl to connect and a non standard ssl port on our splunk server:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;VirtualHost *:8082&amp;gt;
    &amp;lt;Location /&amp;gt;   
        Order allow,deny    
        Allow from all    
        AuthName "mysplunkserver.com"    
        AuthType SSPI    
        SSPIPackage NTLM    
        SSPIOfferSSPI On    
        SSPIAuth On    
        SSPIAuthoritative On    
        SSPIOmitDomain On    
        SSPIOfferBasic On    
        require valid-user 
    &amp;lt;/Location&amp;gt; 
    # Proxy Configurations
    ProxyVia On
    ProxyPassInterpolateEnv On
    &amp;lt;Proxy *&amp;gt;    
        Order allow,deny    
        Allow from all
    &amp;lt;/Proxy&amp;gt;
    ProxyPass / &lt;A href="https://mysplunkserver.com:8082/" target="test_blank"&gt;https://mysplunkserver.com:8082/&lt;/A&gt;
    ProxyPassReverse / &lt;A href="https://mysplunkserver.com:8082/" target="test_blank"&gt;https://mysplunkserver.com:8082/&lt;/A&gt;
    ProxyPassReverseCookieDomain mysplunkserver.com publicserver.com
    ProxyPassReverseCookiePath / /
    RequestHeader set REMOTE-USER %{REMOTE_USER}s
    SSLProxyEngine On   
    AllowCONNECT 8082       
&amp;lt;/VirtualHost&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Jun 2010 18:16:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11697#M138</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2010-06-01T18:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make Single Sign On work with mod_proxy</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11698#M139</link>
      <description>&lt;P&gt;Sorry to bump this thread.&lt;/P&gt;

&lt;P&gt;I tried this exact configuration but the debug page keeps claiming that REMOTE_USER is null.
I can see the user in the apache access.log so I know the authenication is indeed working.
Whatever I do I cannot seem to populate the REMOTE_STRING.
Any idea will be welcomed&lt;/P&gt;

&lt;P&gt;Thanks,
Roy.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2010 15:22:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11698#M139</guid>
      <dc:creator>rosroy</dc:creator>
      <dc:date>2010-07-21T15:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make Single Sign On work with mod_proxy</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11699#M140</link>
      <description>&lt;P&gt;SSPI is only available on Windows Apache, any word on how to get this going with Linux Apache?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2010 23:48:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11699#M140</guid>
      <dc:creator>adamw</dc:creator>
      <dc:date>2010-08-03T23:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make Single Sign On work with mod_proxy</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11700#M141</link>
      <description>&lt;P&gt;Assuming you want to authenticate users from Active Directory via an Apache proxy running on Linux, you could easily get this working by using either a free or paid version of Centrify.&lt;/P&gt;

&lt;P&gt;The &lt;A href="http://www.centrify.com/directcontrol/apache.asp" rel="nofollow"&gt;Centrify Suite Application Edition&lt;/A&gt; is a paid solution that supports SPNEGO/Kerberos and NTLM for silent authentication as well as BASIC or HTLM forms for username/password authentication.&lt;/P&gt;

&lt;P&gt;A free solution would be to &lt;A href="http://www.splunk.com/base/Documentation/4.1/Admin/ConfigureSplunktousePAMorRADIUSauthentication" rel="nofollow"&gt;configure Splunk for PAM authentication&lt;/A&gt; on Linux and use &lt;A href="http://www.centrify.com/express/" rel="nofollow"&gt;Centrify Express&lt;/A&gt; which supports AD authentication from Linux via PAM.&lt;/P&gt;

&lt;P&gt;Cool thing about either approach is that you get very robust integration with Active Directory with support for auto-discovery of domain controllers, auto-setup and auto-management of Kerberos and you can even use either solution for authenticating users to the Linux OS.&lt;/P&gt;

&lt;P&gt;I might try to see how I can package up the simple PAM + Centrify Express approach and submit it to the splunkbase.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2010 00:30:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11700#M141</guid>
      <dc:creator>Corey</dc:creator>
      <dc:date>2010-08-18T00:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make Single Sign On work with mod_proxy</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11701#M142</link>
      <description>&lt;P&gt;If the REMOTE_USER isn't being passed through, try replacing the RequestHeader line with the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;RewriteEngine On
RewriteCond %{LA-U:REMOTE_USER} (.+)
RewriteRule . - [E=RU:%1]
RequestHeader set REMOTE_USER %{RU}e
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You may also have to set the remoteUser setting in web.conf to "REMOTE-USER" (dash rather than underscore):&lt;/P&gt;

&lt;P&gt;web.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[settings]
trustedIP = 127.0.0.1
remoteUser = REMOTE-USER
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 04 Dec 2010 07:41:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11701#M142</guid>
      <dc:creator>gareth</dc:creator>
      <dc:date>2010-12-04T07:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make Single Sign On work with mod_proxy</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11702#M143</link>
      <description>&lt;P&gt;+1 for recommending 'REMOTE-USER' vs 'REMOTE_USER' in web.conf. I spent an hour trying to figure this out, tried the &lt;CODE&gt;RequestHeader set REMOTE_USER %{REMOTE_USER}s&lt;/CODE&gt; trick, etc. I noticed that the SSO debug page at &lt;A href="http://localhost/en-US/debug/sso" target="_blank"&gt;http://localhost/en-US/debug/sso&lt;/A&gt; was seeing a header called 'Remote-User' but I could not get REMOTE_USER to work for the life of me.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:07:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11702#M143</guid>
      <dc:creator>stefanlasiewski</dc:creator>
      <dc:date>2020-09-28T10:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make Single Sign On work with mod_proxy</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11703#M144</link>
      <description>&lt;P&gt;In &lt;CODE&gt;web.conf&lt;/CODE&gt; try 'REMOTE-USER' (with a dash) instead of 'REMOTE_USER' (with an underscore).&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2011 01:24:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-make-Single-Sign-On-work-with-mod-proxy/m-p/11703#M144</guid>
      <dc:creator>stefanlasiewski</dc:creator>
      <dc:date>2011-11-19T01:24:35Z</dc:date>
    </item>
  </channel>
</rss>

