SBM Labs

Cyber Security Collaboration Project

Recursive search of Active Directory users
14 Mar 2015

Introduction.

We need to find AD users in domain group XXX and all included groups.

Solution.

Connect to AD server using LDAP protocol and execute recursive search.

How to create python script is described in the article"Gathering information about Active Directory users".

Example of use.

filter="(&(objectClass=user)(memberof:1.2.840.113556.1.4.1941:=cn=XXX,OU=,OU=,DC=,DC=))"

Gathering information about Active Directory users
How to check DNS server for zone transfer?