Ldapsearch: Difference between revisions
From DWIKI
(Created page with "=HOWTO= ==ldapsearch using starttls== ldapsearch -x -ZZ -h ldap.example.com ==check server certificate starttls== openssl s_client -connect ldap.example.com:389 -starttls ldap") |
mNo edit summary |
||
Line 2: | Line 2: | ||
==ldapsearch using starttls== | ==ldapsearch using starttls== | ||
ldapsearch -x -ZZ -h ldap.example.com | ldapsearch -x -ZZ -h ldap.example.com | ||
==ldapsearch example== | |||
ldapsearch -x -XX -h ldap.example.com -b "dc=example,dc=com" -D "CN=Admin,dc=Users,dc=example,dc=com" -W | |||
==check server certificate starttls== | ==check server certificate starttls== | ||
openssl s_client -connect ldap.example.com:389 -starttls ldap | openssl s_client -connect ldap.example.com:389 -starttls ldap |
Revision as of 16:05, 21 March 2022
HOWTO
ldapsearch using starttls
ldapsearch -x -ZZ -h ldap.example.com
ldapsearch example
ldapsearch -x -XX -h ldap.example.com -b "dc=example,dc=com" -D "CN=Admin,dc=Users,dc=example,dc=com" -W
check server certificate starttls
openssl s_client -connect ldap.example.com:389 -starttls ldap