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!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...