Security

Splunk SSO change - no longer works.

jgauthier
Contributor

Hey Everyone.

Been running splunk behind an apache proxy with NTLM for awhile. (Same host).
Today, I decided to move the apache proxy to a different server, and use SAML2.0 as the authentication method.

As fast as /debug/sso goes, this was a no-hiccup change.
As far as the actual web interface goes, it tells me:

Could not authenticate user via SSO.
Please confirm the user set in the
http header via your SSO module has a
matching splunk account with the same
username.

I verified the usernames, which now uses userprinciplename, instead of samaccount.
I can log in using :8000 fine.

Are there some other logs I can get into to help me diagnose this further?

The debug page is perfect.

Is the incoming request IP in
splunkweb's list of trustedIPs? Yes.
SSO will be used to authenticate this
request.

Remote User HTTP Header REMOTE-USER

Value of REMOTE-USER
jgauthier@lastar.com

Thanks!

Tags (2)
0 Karma

adhoke_splunk
Splunk Employee
Splunk Employee

Can you post errors seen in splunkd.log?

0 Karma

zillionlee
Path Finder

I'm getting the same question.The /debug/sso page looks OK.
I got some log in web_service.log

2015-06-24 09:46:44,231 ERROR [558b5d84381ca48350] auth:59 - getSessionKey - unable to login; check credentials
2015-06-24 09:46:44,232 WARNING [558b5d84381ca48350] decorators:207 - Could not authenticate user zillionlee via SSO. Does zillionlee have a matching splunk account with the same username?

But I have a user zillionlee in splunk.I have no idea.

0 Karma

yuelu
Explorer

I am experiencing the same problem. I have Splunk 6.1.0 build 206881. Can someone shed some lights? Thanks.

0 Karma

linu1988
Champion

did you check if the users are being extracted in ldap settings page?

0 Karma

gsteff
Explorer

I'm getting the same behavior in 6.0.3. The debug page looks like everything is working, but I get the above error page, which says that the user is UNKNOWN_USER.

0 Karma

jgauthier
Contributor

I noticed on the screen, splunk gives me a little help: User: UNKNOWN_USER

But I can clearly see my named user in the user list. I wonder why they are not matching.

0 Karma
Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...