Configuring Kerberos with AD in Cloudera 5.16. When I try to enable the Kerberos, I get the below error -
+ ldapsearch -LLL -H ldaps://cdh516-01.sw.com:636 -b ou=cloudera,DC=dbanet4,DC=root userPrincipalName=admin/admin@DBANET4.ROOT
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
+ '[' 255 -ne 0 ']'
+ echo 'ldapsearch did not work with SASL authentication. Trying with simple authentication'
+ ldapsearch -LLL -H ldaps://cdh516-01.sw.com:636 -b ou=cloudera,DC=dbanet4,DC=root -x -D admin/admin@DBANET4.ROOT -w REDACTED userPrincipalName=admin/admin@DBANET4.ROOT
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
+ '[' 255 -ne 0 ']'
+ echo 'Failed to do ldapsearch.'
+ echo 'Please make sure Active Directory configuration is correctly specified and LDAP over SSL is enabled.'
+ exit 1
I understand looking at the error, it wasn't able to connect with LDAP server, however, the setup went very good and not sure how to check, although I did check with ldap.exe and got the blank screen.
Any help is appreciated.