Using curl for querying Active Directory / LDAP from command line
2012-05-18 | #active directory #commandline #curl #ldap
For quering Active Directory /LDAP from command line, you can run something like curl -u DOMAIN\\\\MYACCOUNT:MYPASSWORD \\ "ldap://dc.redaelli.org:3268/OU=users,DC=redaelli,DC=org?memberOf,sAMAccountName?sub?(sAMAccountName=matteo)" Comments: Saqib Ali - Dec 1, 2018 Super thanks for posting this!