Skip to content

Instantly share code, notes, and snippets.

@skarllot
Last active December 23, 2015 19:49
Show Gist options
  • Save skarllot/6685822 to your computer and use it in GitHub Desktop.
Save skarllot/6685822 to your computer and use it in GitHub Desktop.
Get user list from nested groups (LDAP search)
# http://technet.microsoft.com/en-us/library/ee198834.aspx
(&(objectCategory=person)(memberOf:1.2.840.113556.1.4.1941:=(CN=TargetGroup,CN=Users,DC=DOMAIN,DC=COM)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment