Security

LDAP mapping - how to find which groups led to this user?

ehudb
Contributor

We have configured LDAP mapping groups rules.
We have some users found in "Users" page, that we cannot determine how to received these roles.

Is there any way in the logs or other tools where we can find out which mapping rules added this user to these roles?
It could be more than just one mapping rule.

I tried to raise DEBUG level in "ScopedLDAPConnection" and "AuthenticationManagerLDAP", but we get separate events for users and events for groups, no events are correlating them both.

0 Karma

kunalmao
Communicator

Do a ldap search with
ldapsearch -x -H
you can get complete syntax online, just substitute the user name and it will give you details about which all AD group the user is part of then you can check

Please let me know if it helps

0 Karma

ehudb
Contributor

Hi
I can easily find all groups that the user is member of in LDAP.
But lets say he has hundreds of them, and multiple groups can participate in the mapping process,
How can I tell which of them used in the mapping process?

0 Karma

kunalmao
Communicator

It should be in _audit logs i guess.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...