Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

ambari-server sync-ldap: Exiting with exit code 1

Solved Go to solution
Highlighted

Re: ambari-server sync-ldap: Exiting with exit code 1

Expert Contributor

@Geoffrey Shelton Okot

I have already configured ambari ldap setup according to the value I got from ldapsearch. but still i am facing the same issue.

72706-ldap1.png

Highlighted

Re: ambari-server sync-ldap: Exiting with exit code 1

Mentor

@heta desai

Can you paste the error here and also the ambari error

Highlighted

Re: ambari-server sync-ldap: Exiting with exit code 1

Expert Contributor

@Geoffrey Shelton Okot

ERROR: Exiting with exit code 1. REASON: Caught exception running LDAP sync. [LDAP: error code 49 - Invalid Credentials]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
Highlighted

Re: ambari-server sync-ldap: Exiting with exit code 1

Expert Contributor
@Geoffrey Shelton Okot

while configuring ambari by running ambari-server setup-ldap, set the value of Bind anonymously* = true. Now, I can see all the LDAP users in Ambari.

Thank You.

View solution in original post

Don't have an account?
Coming from Hortonworks? Activate your account here