2/10/2023 0 Comments Linux install ldapsearch![]() ![]() The following command can be used to test connectivity and list the distinguished names contained in the base DN: ldapsearch -ZZ -h -D -W -b dn You may need to install the openldap-clients package to use it. To test the LDAP(S) interface, you can use the OpenLDAP ldapsearch utility. Later versions of Ambari require this (but the verification process can be turned off if you really want to). ![]() This is needed to ensure Ambari trusts the connection to the Active Directory. You can then import the ad_ldap_server.pem into Ambari's trust store. Openssl s_client -connect ad_:636 -showcerts /dev/null | openssl x509 -outform PEM > ad_ldap_server.pem To grab the SSL certificate you can use the following command: openssl s_client -connect :636 -showcerts /dev/null | openssl x509 -outform PEM > ad_ldap_server.pem To test the SSL connection and grab the SSL cert, you can use the OpenSSL s_client utility: openssl s_client -connect HOST:PORT There are various tools you can use to test connectivity. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |