Running Splunk Enterprise 8.0.0 on an internal network.
I went away on vacation for a few weeks with Splunk working fine and came back to it not. I'm not sure how long it had been down, and no one could really tell me what changed. The first problem was a service account password policy was implemented, so Splunk's service account password changed and it wasn't updated in services to launch Splunk. Once that was changed we could launch Splunk, and then received the errors.
Originally we were using ADFS for SSO and it worked fine, but now when going to the site we get the error, "IDP failed to authenticate. Status Code="Responder" Check Splunkd.log for more information about the failure."
I enabled web debug and it shows SSO Enabled as No.
The certificate has not expired.
I removed and set up SSO again following https://www.splunk.com/en_us/blog/cloud/configuring-microsofts-adfs-splunk-cloud.html
Currently I just log in locally to ensure it's still collecting data.
The splunkd logs show:
ERROR Saml - No extra status code found in SamlResponse, Not a valid status. Could not evaluate xpath expression /samlp:Response/samlp:Status/samlp:StatusMessage or no matching node foundNo value found in SamlResponse for key=/samlp:Response/samlp:Status/samlp:StatusMessage or no matching node foundCould not evaluate xpath expression /samlp:Response/samlp:Status/samlp:StatusDetail/Cause or no matching node foundNo value found in SamlResponse for key=/samlp:Response/samlp:Status/samlp:StatusDetail/Cause
ERROR UiSAML - IDP failed to authenticate request. Status Message="" Status Code="Responder"
ERROR UiSAML - IDP failed to authenticate request. Status Code="Responder"
This seemed to fix it on one of our domains:
Splunk SAML Request Signing does not appear to work with ADFS and the requirement for it must be disabled on the Relying Party Trust. Disabling SAML Request Signing for the Relying Party Trust must be done from a PowerShell command. Open an elevated PowerShell command window and run the following command. Be sure to use the correct Identifier for the Relying Party Trust:
LDAP Attribute (Select or type to add more) | Outgoing Claim Type (Select or type to add more) |
Display-Name | realName |
E-Mail-Addresses | |
Token-Groups – Unqualified Names | Role |
Customize the newly created rule. ADFS will ALWAYS use the Role schema string as if selected from the pulldown, even if the user manually types “role” for the Outgoing Claim Type in the table. Splunk will not recognize this schema string to associate the groups to the “role” label as required. An easy way to get the proper claim rule is to create the claim with the wizard to get the claim language, then copy and modify the claim rule language to create a new custom rule. Afterwards the original rule can be deleted, leaving only the custom version of the rule.
This seemed to fix it on one of our domains:
Splunk SAML Request Signing does not appear to work with ADFS and the requirement for it must be disabled on the Relying Party Trust. Disabling SAML Request Signing for the Relying Party Trust must be done from a PowerShell command. Open an elevated PowerShell command window and run the following command. Be sure to use the correct Identifier for the Relying Party Trust:
LDAP Attribute (Select or type to add more) | Outgoing Claim Type (Select or type to add more) |
Display-Name | realName |
E-Mail-Addresses | |
Token-Groups – Unqualified Names | Role |
Customize the newly created rule. ADFS will ALWAYS use the Role schema string as if selected from the pulldown, even if the user manually types “role” for the Outgoing Claim Type in the table. Splunk will not recognize this schema string to associate the groups to the “role” label as required. An easy way to get the proper claim rule is to create the claim with the wizard to get the claim language, then copy and modify the claim rule language to create a new custom rule. Afterwards the original rule can be deleted, leaving only the custom version of the rule.
What'd you end up doing to fix this? I've got the same problem and can't work it out 😞
We were never able to get SSO back up with Splunk, but its currently on our to do list. If I figure it out I'll let you know.
Hi,
we also get this error in a new instance. Old configurations on other systems are working fine and ADFS seems to be configured correctly (like the working one).
EDIT: pl2345 answer resolved it!