Articles in this section

How to test LDAP with an LDAP server with tls enabled?

Context

LDAP servers support  StartTLS over port 389. 

Method

a) Using the -ZZ or -Z options to force StartTLS over port 389:

ldapsearch -ZZ -h 127.0.0.1 -p 389 -b dc=field,dc=aerospike,dc=com -D "cn=admin,dc=field,dc=aerospike,dc=com" -w admin

b) Enabling ldapsearch debug with -d -1 option:

ldapsearch -ZZ -h 127.0.0.1 -p 389 -b dc=field,dc=aerospike,dc=com -D "cn=admin,dc=field,dc=aerospike,dc=com" -w admin -d -1

Applies To Earliest Version

Pre 4.9

Applies To Latest Version

Current Version
Was this article helpful?
0 out of 0 found this helpful