
You can connect to the LDAP that use the SSL certificate over the protected LDAPS protocol (TCP port 636).

In this case, the user credentials of ADUser1 are transferred over the network in a clear text form, which is not secure. To check the LDAP connection (TCP port 389), run the command: ldapsearch -v -x -D -w "OU=Users,OU=London,OU=UK,DC=theitbros,DC=com" -H "ldap://" sAMAccountName= ADUser1
#Ldap query user objects within a specied ou password#

Let’s try to use the ldapsearch utility in Linux Debian to test connectivity to an Active Directory domain controller (target LDAP server). -z - sizelimit on the data size in the search query result.-w - specify password in the command prompt when running LDAP query.-D - use the username to connect to the server.

