I'm trying to create a report/dashboard that will show all users in the domain admins group, the query below does work and will create a report but the report is also missing users inside of the domain admins group. The users that are missing have their primary group set to domain admins.(This could be the issue) or a bug that inside of the Splunk Supporting Add-on for Active Directory. Any ideas?
| ldapsearch domain="domain" search="(&(objectclass=group)(cn=Domain Admins))"|fields *
| table membername,membertype,memberdn
| sort membername
| rename membername as "Username",membertype as "Membership Type"
| search (Username !="" OR member_domain !="" OR Domain !="")