We help IT Professionals succeed at work.

What tool do we need to install to execute ldapsearch command in unix as well as in windows boxes.

chaitu chaitu
on
hi,

What tool do we need to install to execute ldapsearch command in unix as well as in windows.

ldapsearch -Hldaps://xxx.xx.xx:636 -x -D test4@corp.local -W -b "" -s base
Comment
Watch Question

Distinguished Expert 2019

Commented:
ldapsearch should be installed if the system is joined as an LDAP client or is a server.

on linux you should have the openldap-client portion installed.

Windows 7 you need to install the RSAT tool set to query the AD.

Author

Commented:
i have download RSAT tools for windows 7.In RSAT where can i  execute above command. I want to check whether i am able to connect to that ldap server with that user or not?

ldapsearch -Hldaps://xxx.xx.xx:636 -x -D test4@corp.local -W -b "" -s base
Distinguished Expert 2019

Commented:
Windows environment includes AD DC or you have samba4/openldap setup.

Author

Commented:
"Windows environment includes AD DC or you have samba4/openldap setup."

Can you tell me exatcly where i can see AD DC ?
Distinguished Expert 2019
Commented:
Active directory domain controller are the LDAP implementation with the DC the LDAP server.

Rsat is the tool for Windows to manage the AD environment. And includes

There is an ldapsearch tool forWindows. But have not used one....