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:
-
-H
maps to--uris
-
-b
maps to--search-base
-
-D
maps to--bind-user
-
-w
maps 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