Hello,
I have used the LDAPSearch/LDAP group command to retrieve the members of a group. It returns the members "dn" and shows either "direct" or "nested", but the documentation states if it returns nested, it should also include the "DN" of the group from which it came, at least if I am reading it correctly. See below. Why is this not working? My search is below:
| ldapsearch search="(&(cn="GroupName")(objectClass=group))" attrs="cn,distinguishedName,member" limit=10 domain="DomainName" | table cn,distinguishedName | ldapgroup domain="DomainName"| table cn,member_dn,member_type
From LDAP reference guide: [member_type The type of membership (one of PRIMARY, DIRECT or NESTED with the group DN).]
↧