Asimananda Mohanty wrote:> <http://ldap-company.com:636> -ZZ -D dc=ldap-company,dc=com" and got the
> Hi Michael,
>
> Thanks for the reply.
>
> I tried with "ldapsearch -x -H ldap://ldap-company.com:636
> error :Sorry should have been
>
> ber_get_next failed.
> ldap_start_tls: Can't contact LDAP server (-1)
ldapsearch -x -H ldap://ldap-company.com -ZZ
for LDAP access going to standard port 389 (clear-text) and then using
StartTLS extended operation.
Another option is to use LDAPS (LDAP over SSL) to separate port:
ldapsearch -x -H ldaps://ldap-company.com:636 -ZZ