ldeep

LDAP enumeration and reconnaissance utility for Active Directory

brewmacoslinux
Try with needOr install directly
Source

About

LDAP enumeration utility

Commands

ldeep

Examples

Enumerate all users from an LDAP server$ ldeep ldap -u username -p password -d domain.com -s ldap://server users
Extract all groups and their members from Active Directory$ ldeep ldap -u username -p password -d domain.com -s ldap://server groups
Perform a full LDAP dump and export results to JSON$ ldeep ldap -u username -p password -d domain.com -s ldap://server all -o output.json