Communication with LDAP Server
On this page
The LDAP tool’s communication with LDAP is equivalent to a single ldapsearch command call.
ldapsearch -x -H ldap://35.158.138.5 -b "dc=memsql,dc=ldap,dc=testing" -D "CN=Peter Pan,CN=Users,DC=memsql,DC=ldap,DC=testing" -w MemSQL-active-directory-2020 "(&(objectClass=*))"Where:
-
-Hmaps to--uris -
-bmaps to--search-base -
-Dmaps to--bind-user -
-wmaps to--bind-credentials -
(&(objectClass=*))maps to--query-filter
Secure LDAP Server Connections
The LDAP tool secures LDAP server connections using the StartTLS extension to the LDAP protocol.StartTLS encrypts communication by using the TLS protocol.StartTLS can be enabled using the --start-tls option of the sdb-admin sync-ldap command.--ca-paths option.--ca-paths option, the default root certificate(s) will be used.
Last modified: November 5, 2024