windapsearch -d $DOMAIN --dc-ip $DCIP -u $USER -p $PASSWORD -m users

Query LDAP for users, computers, and privileged groups without writing raw filters

Command: Linux

References:

https://github.com/ropnop/windapsearch