Splunk Enterprise

Error while integrating Splunk with LDAP

franciscof
Explorer

Hi guys, I´ve been trying to integrate Splunk with LDAP but I´m encountering this error:

franciscof_1-1613056179057.png

 

What could this be?

 

Thanks in advance

Labels (1)
0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @franciscof,

Yes, Splunk first check if local users matches.  You can check the usernames/groups that comes from LDAP authentication on Setting | Users page. You will see all users with mapped roles and "Authentication System"

You may need to check the setting on "User name attribute"  inside LDAP Strategy. It is usually "samaccountname".

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

scelikok
SplunkTrust
SplunkTrust

Did you map groups to roles? Required LDAP groups should be mapped to a Splunk Role.

You can find documentation below;

https://docs.splunk.com/Documentation/Splunk/8.1.2/Security/MapLDAPgroupstoSplunkroles 

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

franciscof
Explorer

Yes I did. My local user is the same as my LDAP user, could that be causing trouble? However, there are other users that have different local and LDAP users and they also cannot log in.

0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @franciscof,

You may need to uncheck if "Enable referrals with anonymous bind only"  in Advanced settings;

scelikok_0-1613062506873.png

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

franciscof
Explorer

That solved the error, but even though the configuration is OK, Splunk is not authenticating through LDAP. I can only access Splunk through my local user. What could this be?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...