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!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...