All Apps and Add-ons

ldapsearch - Getting objectSid of group members

althomas
Communicator

Hi all,

Looking to pull out the objectSid of the user in order to join it against another query I'm running, but can't see an easy way to do this.

Current query:

| ldapsearch domain=default search="(&(objectClass=group)(CN=My Monitored Group))" basedn="OU=Made Up Name,DC=com" 
| ldapgroup

The problem is that ldapgroup, as per the documentation, only pulls out:

member_dn
member_domain
member_name
member_type
mv_combo

Is there an easy way to get the objectSid of the user from the data above?

Thanks!

Best regards,
Alex

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...