Using curl for querying Active Directory / LDAP from command line

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, 2018Super thanks for posting this!

May 18, 2012 · 1 min · 29 words · Matteo Redaelli