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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...