<?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: Setting up SSO on Windows in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17783#M2358</link>
    <description>&lt;P&gt;Hi Jens, &lt;/P&gt;

&lt;P&gt;Thanks for the post... I'm using IONICS v2.1 and had to adapt some of the directives to our environment. &lt;/P&gt;

&lt;P&gt;After a LOT of struggle, I managed to get his working.&lt;BR /&gt;
Below, I will post my own INI file&lt;/P&gt;

&lt;P&gt;I hope it helps the next one that reads this &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2012 15:38:29 GMT</pubDate>
    <dc:creator>ruiaires</dc:creator>
    <dc:date>2012-05-29T15:38:29Z</dc:date>
    <item>
      <title>Setting up SSO on Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17777#M2352</link>
      <description>&lt;P&gt;Thought I'd put together a quick writeup on how I got SSO working on Windows using IIS &amp;amp; windows authentication. Many thanks to BrianW @ Splunk for helping with this.&lt;/P&gt;

&lt;P&gt;This configuration works with Windows 2008 R2 hosting both Splunk 4.1.2 &amp;amp; IIS on the same server. ISAPI Rewrite3 (full version not lite) was installed per the Admin guide.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Setup integrated authentication
&lt;UL&gt;
&lt;LI&gt;Install &lt;STRONG&gt;Windows Authentication&lt;/STRONG&gt; role service for IIS&lt;/LI&gt;
&lt;LI&gt;Enable &lt;STRONG&gt;Windows Authentication&lt;/STRONG&gt; in IIS Manager
&lt;UL&gt;
&lt;LI&gt;Settings are within &lt;STRONG&gt;Authentication&lt;/STRONG&gt; either at server, site or folder level&lt;/LI&gt;
&lt;/UL&gt;&lt;/LI&gt;
&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;Setup ISAPI Rewrite (see config file below)&lt;/LI&gt;
&lt;LI&gt;Enable Splunk SSO (see &lt;STRONG&gt;server.conf&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;web.conf&lt;/STRONG&gt; below)&lt;/LI&gt;
&lt;LI&gt;Restart Splunk &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;ISAPI Rewrite's &lt;STRONG&gt;httpd.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;P&gt;&lt;CODE&gt;RewriteCond %{REMOTE_USER} .*\\([^\\]+)&lt;BR /&gt;
      RewriteHeader Remote-User: .* %1&lt;BR /&gt;
      RewriteBase /&lt;BR /&gt;
      RewriteProxy ^(.*)$ &lt;A href="http://yoursplunk.domain.com:8000/" rel="nofollow"&gt;http://yoursplunk.domain.com:8000/&lt;/A&gt;$1 [NC,P]
  &lt;/CODE&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&lt;STRONG&gt;server.conf&lt;/STRONG&gt;  &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;P&gt;&lt;CODE&gt;[general]&lt;BR /&gt;
  trustedIP = 127.0.0.1
  &lt;/CODE&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&lt;STRONG&gt;web.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;P&gt;&lt;CODE&gt;[settings]&lt;BR /&gt;
  trustedIP = &amp;lt;SPLUNK_IP_ADDRESS&amp;gt;&lt;BR /&gt;
  remoteUser = Remote-User
  &lt;/CODE&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 21 Jul 2010 02:36:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17777#M2352</guid>
      <dc:creator>erga00</dc:creator>
      <dc:date>2010-07-21T02:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up SSO on Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17778#M2353</link>
      <description>&lt;P&gt;In my opinion there is a line missing in your configuration where you set the REMOTE_USER. Something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;RewriteHeader REMOTE_USER: ^$ admin
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Jul 2010 19:54:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17778#M2353</guid>
      <dc:creator>graber_cs</dc:creator>
      <dc:date>2010-07-22T19:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up SSO on Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17779#M2354</link>
      <description>&lt;P&gt;As I understand it, your example should set REMOTE_USER to admin for all users but even that doesn't work. No headers are added to the response.&lt;/P&gt;

&lt;P&gt;I've made some progress though. If I add the 'A' option to the RewriteProxy line then ISAPI Rewrite adds the X-Isrw-Proxy-Remote-User header which almost gets me to the finish line. &lt;/P&gt;

&lt;P&gt;The problem is that the header contains "DOMAIN\user" and Splunk's LDAP functionality creates users without the "DOMAIN\" prefix.&lt;/P&gt;

&lt;P&gt;Looks like I'll have to figure out how to get RewriteHeader part working after all. I'll post an update when I figure it out.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2010 00:47:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17779#M2354</guid>
      <dc:creator>erga00</dc:creator>
      <dc:date>2010-07-23T00:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up SSO on Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17780#M2355</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;we're using Ionics Isapi Rewrite Filter (&lt;A href="http://iirf.codeplex.com"&gt;http://iirf.codeplex.com&lt;/A&gt;/) on W2K3 and IIS 6.&lt;BR /&gt;
Works fine and its free.&lt;/P&gt;

&lt;P&gt;If someone is interested ...&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Jens&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 12 Oct 2011 20:25:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17780#M2355</guid>
      <dc:creator>JensT</dc:creator>
      <dc:date>2011-10-12T20:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up SSO on Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17781#M2356</link>
      <description>&lt;P&gt;Hi JensT,&lt;/P&gt;

&lt;P&gt;Can you please paste your IIRF.INI file here ?&lt;/P&gt;

&lt;P&gt;Ionics ISAPI Filter does not support the RewriteProxy directive.&lt;/P&gt;

&lt;P&gt;I'm looking into the documentation but knowing that you already have it working, it would be great to be able to validate this &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2012 11:24:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17781#M2356</guid>
      <dc:creator>ruiaires</dc:creator>
      <dc:date>2012-05-29T11:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up SSO on Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17782#M2357</link>
      <description>&lt;PRE&gt;# CheckHttpHost.ini
#
# rewrite based on the HTTP_HOST used in the request.
#
# remember to rename this file to IsapiRewrite4.ini ,
# or copy this content to a file named IsapiRewrite4.ini
# before using it!
#
# Mon, 25 Sep 2006  15:42
#

RewriteEngine ON
UrlDecoding OFF
ProxyTimeouts - - - 0

StatusUrl /iirfStatus

RewriteLog  c:\temp\iirfLog.out
RewriteLogLevel 1
CondSubstringBackrefFlag *

RewriteCond %{REMOTE_USER} ^$
RewriteCond %{CERT_SUBJECT} ^DC.*\((.*)\)$ [NC]
RewriteHeader REMOTE_USER: ^$ *1

#
# Direct SSO to Indexers (Optional)
#
RewriteCond %{HTTP_HOST}   ^logview-(indexer_.*)\.csintra\.net$  [I]
ProxyPass /(.*) &lt;A href="http://*1.domain.net:8000/$1" target="test_blank"&gt;http://*1.domain.net:8000/$1&lt;/A&gt;

#
# SSO to local Search-Head
ProxyPass /(.*) &lt;A href="http://localhost:8000/$1" target="test_blank"&gt;http://localhost:8000/$1&lt;/A&gt;

# Searcher
ProxyPassReverse / &lt;A href="http://localhost/" target="test_blank"&gt;http://localhost/&lt;/A&gt;

# Indexer ET
ProxyPassReverse / &lt;A href="http://indexer_dev.domain.net/" target="test_blank"&gt;http://indexer_dev.domain.net/&lt;/A&gt;

# Indexer IT
ProxyPassReverse / &lt;A href="http://indexer_it1.domain.net/" target="test_blank"&gt;http://indexer_it1.domain.net/&lt;/A&gt;
ProxyPassReverse / &lt;A href="http://indexer_it1.domain.net/" target="test_blank"&gt;http://indexer_it1.domain.net/&lt;/A&gt;

# Indexer UAT
ProxyPassReverse / &lt;A href="http://indexer_uat1.domain.net/" target="test_blank"&gt;http://indexer_uat1.domain.net/&lt;/A&gt;
ProxyPassReverse / &lt;A href="http://indexer_uat2.domain.net/" target="test_blank"&gt;http://indexer_uat2.domain.net/&lt;/A&gt;

# .....&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 May 2012 11:53:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17782#M2357</guid>
      <dc:creator>JensT</dc:creator>
      <dc:date>2012-05-29T11:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up SSO on Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17783#M2358</link>
      <description>&lt;P&gt;Hi Jens, &lt;/P&gt;

&lt;P&gt;Thanks for the post... I'm using IONICS v2.1 and had to adapt some of the directives to our environment. &lt;/P&gt;

&lt;P&gt;After a LOT of struggle, I managed to get his working.&lt;BR /&gt;
Below, I will post my own INI file&lt;/P&gt;

&lt;P&gt;I hope it helps the next one that reads this &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2012 15:38:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17783#M2358</guid>
      <dc:creator>ruiaires</dc:creator>
      <dc:date>2012-05-29T15:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up SSO on Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17784#M2359</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;#
# IIRF.INI for IONICS v2.1 ISAPI filter on IIS7 / W2K8
#

StatusInquiry ON

# extract user name from "DOMAIN\user" pattern
RewriteCond %{REMOTE_USER} .*\\([^\\]+)

# force REMOTE_USER to use backreference match from previous condition (*1)
# web.conf must have remoteUser = Remote-User
# check &lt;A href="http://proxy/debug/sso" target="test_blank"&gt;http://proxy/debug/sso&lt;/A&gt; to validate header is OK
#
RewriteHeader REMOTE_USER: ^$ *1

# match http host to the desired server name
RewriteCond %{HTTP_HOST} ^servername$  [I]

# proxy to actual server
ProxyPass ^/(.*) &lt;A href="http://splunkserver:8000/$1" target="test_blank"&gt;http://splunkserver:8000/$1&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 May 2012 15:39:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17784#M2359</guid>
      <dc:creator>ruiaires</dc:creator>
      <dc:date>2012-05-29T15:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up SSO on Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17785#M2360</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;I found the following article very helpful in setting up Microsoft IIS as a reverse proxy for Splunk.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://blogs.msdn.com/b/chiranth/archive/2014/08/03/application-request-routing-part-2-reverse-proxy-and-troubleshooting-arr-urlrewrite-issues.aspx"&gt;http://blogs.msdn.com/b/chiranth/archive/2014/08/03/application-request-routing-part-2-reverse-proxy-and-troubleshooting-arr-urlrewrite-issues.aspx&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2014 17:44:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17785#M2360</guid>
      <dc:creator>andrewbeeber</dc:creator>
      <dc:date>2014-12-09T17:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up SSO on Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17786#M2361</link>
      <description>&lt;P&gt;This filter doesn't work on IIS 7.5 under WinSrv2k8R2, right? This filter seemed perfect for my needs, but It's quite disappointing it doesn't run on IIS 7.5. I wonder if anybody has the same configurations for ARR and URL Rewrite on IIS, to use only Microsoft-provided tools...&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2015 22:36:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17786#M2361</guid>
      <dc:creator>GeoffExxon</dc:creator>
      <dc:date>2015-03-30T22:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up SSO on Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17787#M2362</link>
      <description>&lt;P&gt;I actually use IIS with ARR on both Windows 2008R2 and Windows 2012R2 with no problems using the Helicon ISAPI Filter.&lt;/P&gt;

&lt;P&gt;Make sure you have the following installed:&lt;BR /&gt;
a.  Helicon ISAPI Rewrite (ISAPI_Rewrite3_0104_Lite_x64.msi)&lt;BR /&gt;
b.  Microsoft Web Deployment 2.1 (WebDeploy_2_10_amd64_en-us.msi)&lt;BR /&gt;
c.  Microsoft Web Platform 3.10 (WebPlatformInstaller_3_10_amd64.en-US.msi)&lt;BR /&gt;
d.  Microsoft Web Farm 2.0 (WebFarm2_x64.msi)&lt;BR /&gt;
e.  Microsoft External Cache (ExternalDiskCache_amd64_en-us.exe)&lt;BR /&gt;
f.  Microsoft URL Rewrite (rewrite_2.0_rtw_x64.msi)&lt;BR /&gt;
g.  Microsoft Application Request Router (requestRouter_x64.msi)&lt;BR /&gt;
h.  Microsoft C++ Redistribution (vcredist_x64.exe)&lt;BR /&gt;
i.  Microsoft C++ Redistribution SP1 (vcredist_x64sp1.exe)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:19:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17787#M2362</guid>
      <dc:creator>andrewbeeber</dc:creator>
      <dc:date>2020-09-28T19:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up SSO on Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17788#M2363</link>
      <description>&lt;P&gt;Yeah, I am using helicon in my existing setups here. I was thinking if there's a way to do it without it or using only the Microsoft-provided modules, but it seems not. &lt;/P&gt;

&lt;P&gt;I'll have to do the same with a Linux server running Apache in a few days, and I have no idea even where to start.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 18:25:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17788#M2363</guid>
      <dc:creator>GeoffExxon</dc:creator>
      <dc:date>2015-03-31T18:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up SSO on Windows</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17789#M2364</link>
      <description>&lt;P&gt;Okay,&lt;BR /&gt;
What is not working? I have created a SOP that is specific to my environment, but I am happy to share it with you. There is a link I posted on how to setup a ARR reverse proxy through IIS. The key is to install the models in the sequence listed above. After that point IIS to the Splunk\bin folder, then ensure ISAPI_Filters have entries to the Helicon ISAPI models, then configure URL Re-write to turn on the proxy component of ARR.&lt;/P&gt;

&lt;P&gt;My helicon httpd.conf looks like the following:&lt;BR /&gt;
i.  #Helicon ISAPI_Rewrite configuration file HTTPD.CONF&lt;BR /&gt;
ii. # Version 3.1.0.104&lt;BR /&gt;
iii.    #&lt;BR /&gt;
iv. RewriteEngine on&lt;BR /&gt;
v.  RewriteLogLevel 0&lt;BR /&gt;
vi. LogLevel info&lt;BR /&gt;
vii.    RewriteCond %{REMOTE_USER} .&lt;EM&gt;\([^\]+)&lt;BR /&gt;
viii.   RewriteHeader Remote-User: .&lt;/EM&gt; %1&lt;BR /&gt;
ix. RewriteBase /&lt;BR /&gt;
x.  RewriteProxy ^(.*)$ &lt;ENTER fqdn="" of="" the="" splunk="" 8000=""&gt; [NC,P]&lt;/ENTER&gt;&lt;/P&gt;

&lt;P&gt;Lastly there is some tweaking in the \etc\system\web.conf to enable SSO.&lt;/P&gt;

&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:22:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Setting-up-SSO-on-Windows/m-p/17789#M2364</guid>
      <dc:creator>andrewbeeber</dc:creator>
      <dc:date>2020-09-28T19:22:07Z</dc:date>
    </item>
  </channel>
</rss>

