Everywhere I find solutions for how a LDAP Query has to look like in Windows CMD. For instance:
Example for a LDAP Query in commandline-programm:
ldapsearch -h ldap.acme.com -p 389 -s sub -D "cn=Directory Manager,o=acme" -W -b "ou=personen,o=acme" "(&(mail=joe)(c=germany))" mail*
It is not a problem for me to adjust such a query to my needs, but none of the common help pages tells you how to make the ldap commands work. Everytime I am trying to execute a ldap command, comandline only response that the command is not known.
Please tell what I have to download or where I have to navigate to make this command work.
Thanks
Ldapsearch.exe is a tool that was included with Windows 2000, it isn't used anymore, and was superseded by dsquery in Server 2003. However if you are querying Active Directory, you should just use the Active Directory PowerShell Module instead, which is included with the Remote Server Admin Tools.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With