<?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 to modify my configuration of Splunk SSO with SAML and ADFS as the Identity Provider? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-modify-my-configuration-of-Splunk-SSO-with-SAML-and-ADFS/m-p/210762#M41520</link>
    <description>&lt;P&gt;Actually role can be any strings in 6.4 and onwards, they dont have to be of form ""cn=splunk_admin,dc=myorg,dc=int"&lt;BR /&gt;
"Domain Users" would still work.&lt;/P&gt;

&lt;P&gt;You are right about the attribute alias mapping though&lt;/P&gt;

&lt;P&gt;Alternatively you can look at the claim language generated for "role" in ADFS, copy it out and change the name from "http://..." to just role and add a custom claim. That should also work.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2016 20:22:29 GMT</pubDate>
    <dc:creator>rdimri_splunk</dc:creator>
    <dc:date>2016-09-22T20:22:29Z</dc:date>
    <item>
      <title>How to modify my configuration of Splunk SSO with SAML and ADFS as the Identity Provider?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-modify-my-configuration-of-Splunk-SSO-with-SAML-and-ADFS/m-p/210760#M41518</link>
      <description>&lt;P&gt;I'm attempting to configure SSO for Splunk with ADFS as the IdP.  I have mapped an Active Directory group to the admin group in Splunk like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[rolemap_SAML]
admin = splunk_admin
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Whenever I attempt to login I receive the following message:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;No valid splunk role found in the local mapping or assertion.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I am getting what appears to be a valid response from ADFS, but it seems Splunk is having an issue parsing it. I'm sure the issue lies with some misconfiguration on my part, but I'm having trouble pinning it down.  I'm reaching out to the Splunk community to see if anyone else has had a similar experience, or can offer some insight.&lt;/P&gt;

&lt;P&gt;Here are some sanitized excerpts from the SAML response for reference:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;My UPN passed from ADFS:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient"&amp;gt;johndoe@myorg.int&amp;lt;/NameID&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;My realName Attribute:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;Attribute Name="realName"&amp;gt; &amp;lt;AttributeValue&amp;gt;John Doe&amp;lt;AttributeValue&amp;gt; &amp;lt;/Attribute&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;My 'mail' Attribute&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;Attribute Name="mail"&amp;gt; &amp;lt;AttributeValue&amp;gt;JohnDoe@myorg.org&amp;lt;/AttributeValue&amp;gt; &amp;lt;Attribute&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;My 'role' Attribute&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;Attribute Name="http://schemas.microsoft.com/ws/2008/06/identity/claims/role"&amp;gt; &amp;lt;AttributeValue&amp;gt;Domain Users&amp;lt;/AttributeValue&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;...MORE ATTRIBUTES...&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;AttributeValue&amp;gt;splunk_admin&amp;lt;AttributeValue&amp;gt; &amp;lt;/Attribute&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Sep 2016 17:59:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-modify-my-configuration-of-Splunk-SSO-with-SAML-and-ADFS/m-p/210760#M41518</guid>
      <dc:creator>justinb82</dc:creator>
      <dc:date>2016-09-22T17:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify my configuration of Splunk SSO with SAML and ADFS as the Identity Provider?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-modify-my-configuration-of-Splunk-SSO-with-SAML-and-ADFS/m-p/210761#M41519</link>
      <description>&lt;P&gt;If the attribute name is not called "&lt;STRONG&gt;role&lt;/STRONG&gt;" then you also need to set authenticationResponseAttrMap_SAML in authentication.conf, ie:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[authenticationResponseAttrMap_SAML]
 role = &lt;A href="http://schemas.microsoft.com/ws/2008/06/identity/claims/role" target="test_blank"&gt;http://schemas.microsoft.com/ws/2008/06/identity/claims/role&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, look at $SPLUNK_HOME/var/log/splunkd.log for SAML related entries to help you troubleshoot.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 18:48:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-modify-my-configuration-of-Splunk-SSO-with-SAML-and-ADFS/m-p/210761#M41519</guid>
      <dc:creator>suarezry</dc:creator>
      <dc:date>2016-09-22T18:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify my configuration of Splunk SSO with SAML and ADFS as the Identity Provider?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-modify-my-configuration-of-Splunk-SSO-with-SAML-and-ADFS/m-p/210762#M41520</link>
      <description>&lt;P&gt;Actually role can be any strings in 6.4 and onwards, they dont have to be of form ""cn=splunk_admin,dc=myorg,dc=int"&lt;BR /&gt;
"Domain Users" would still work.&lt;/P&gt;

&lt;P&gt;You are right about the attribute alias mapping though&lt;/P&gt;

&lt;P&gt;Alternatively you can look at the claim language generated for "role" in ADFS, copy it out and change the name from "http://..." to just role and add a custom claim. That should also work.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 20:22:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-modify-my-configuration-of-Splunk-SSO-with-SAML-and-ADFS/m-p/210762#M41520</guid>
      <dc:creator>rdimri_splunk</dc:creator>
      <dc:date>2016-09-22T20:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify my configuration of Splunk SSO with SAML and ADFS as the Identity Provider?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-modify-my-configuration-of-Splunk-SSO-with-SAML-and-ADFS/m-p/210763#M41521</link>
      <description>&lt;P&gt;Thanks, I did not realize the format requirement for the role value has been removed.  I've edited my answer to remove this part.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 20:33:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-modify-my-configuration-of-Splunk-SSO-with-SAML-and-ADFS/m-p/210763#M41521</guid>
      <dc:creator>suarezry</dc:creator>
      <dc:date>2016-09-22T20:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify my configuration of Splunk SSO with SAML and ADFS as the Identity Provider?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-modify-my-configuration-of-Splunk-SSO-with-SAML-and-ADFS/m-p/210764#M41522</link>
      <description>&lt;P&gt;Thanks to the both of you for your time.  I added that additional setting to the authentication.conf file and it works great!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 21:42:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-modify-my-configuration-of-Splunk-SSO-with-SAML-and-ADFS/m-p/210764#M41522</guid>
      <dc:creator>justinb82</dc:creator>
      <dc:date>2016-09-22T21:42:50Z</dc:date>
    </item>
  </channel>
</rss>

