All Apps and Add-ons

LDAPsearch: How do I show members UPN of a groups?

janroc
Explorer

How do I run a search using ldapsearch which shows all members of a group, along with each member's UPNs?

Currently, using LDAPGROUP (as shown below), we are only able to receive the basic CN for each member. However, I want to see the UPN for each user.

Any suggestion?

Search:

|ldapsearch basedn="ou=test,ou=Groups,ou=Common Resources,ou=group,dc=ad,dc=private" search="(&(objectClass=group)(cn=*))"
| ldapgroup
| table cn,member_dn,member_name
Labels (2)
0 Karma
Get Updates on the Splunk Community!

Monitoring Postgres with OpenTelemetry

Behind every business-critical application, you’ll find databases. These behind-the-scenes stores power ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...

Splunk Edge Processor | Popular Use Cases to Get Started with Edge Processor

Splunk Edge Processor offers more efficient, flexible data transformation – helping you reduce noise, control ...