<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: ambari-server sync-ldap:  Exiting with exit code 1 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187665#M78041</link>
    <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@heta desai"&gt; @heta desai&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The issue is caused by the invalid credentials &lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;Ambari/LDAP  Admin&lt;/STRONG&gt; [user&amp;amp;passwords]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Note&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;To perform this operation, your Ambari Server must be running.&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;When prompted, you must provide &lt;STRONG&gt;credentials for an Ambari Admin.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;When syncing ldap, Local user accounts with matching username will switch to LDAP type, which means their authentication will be against the external LDAP and not against the Local Ambari user store.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;Hope that helps&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 May 2018 18:31:54 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2018-05-08T18:31:54Z</dc:date>
    <item>
      <title>ambari-server sync-ldap:  Exiting with exit code 1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187664#M78040</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have created Hortonworks Data cloud cluster on AWS, with one master node and one worker node. on master node I have configured the openLDAP server. Now, I am trying to sync openLDAP users with Ambari.&lt;/P&gt;&lt;P&gt;To sync the openLDAP user with Ambari  execute the following command:&lt;/P&gt;&lt;PRE&gt;ambari-server sync-ldap --users users.txt&lt;/PRE&gt;&lt;P&gt;user.txt contains the name of the user to sync, seprated by comma.&lt;/P&gt;&lt;P&gt;After executing above command it prompts for ambari login. after I enter credential for ambari server it throws following error:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;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]&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;How can I resolve this error ?&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 17:49:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187664#M78040</guid>
      <dc:creator>heta_desai</dc:creator>
      <dc:date>2018-05-08T17:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server sync-ldap:  Exiting with exit code 1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187665#M78041</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@heta desai"&gt; @heta desai&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The issue is caused by the invalid credentials &lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;Ambari/LDAP  Admin&lt;/STRONG&gt; [user&amp;amp;passwords]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Note&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;To perform this operation, your Ambari Server must be running.&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;When prompted, you must provide &lt;STRONG&gt;credentials for an Ambari Admin.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;When syncing ldap, Local user accounts with matching username will switch to LDAP type, which means their authentication will be against the external LDAP and not against the Local Ambari user store.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;Hope that helps&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 18:31:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187665#M78041</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-05-08T18:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server sync-ldap:  Exiting with exit code 1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187666#M78042</link>
      <description>&lt;P style="margin-left: 40px;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; I am using the same credential to login the ambari UI and it works perfect. But when I am using them with the ambari-server sync-ldap command it throws an error.&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 18:35:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187666#M78042</guid>
      <dc:creator>heta_desai</dc:creator>
      <dc:date>2018-05-08T18:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server sync-ldap:  Exiting with exit code 1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187667#M78043</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/questions/190802/@heta%20desai"&gt;@heta desai&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;That's correct because you are trying to sync LDAP user but giving Ambari admin password hence "Invalid credentials" ,here you need your LDAP admin user and password !!!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You will  first need to generate the LDAP config file by running &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Step 1&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;ambari-server setup-ldap&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;It will prompt you for various parameter's like LDAP admin user and password and LDAP host FQDN and port&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Step 2&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Then the below command actually sync's &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ambari-server sync-ldap [option]&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The options can be&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt; --existing&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt; --all&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt; --users users.txt --groups groups.txt&lt;/STRONG&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt; See reference &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.1/bk_Ambari_Security_Guide/content/_configuring_ambari_for_ldap_or_active_directory_authentication.html" target="_blank"&gt; Configuring Ambari for LDAP or Active Directory Authentication&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hope that helps&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 19:29:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187667#M78043</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-05-08T19:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server sync-ldap:  Exiting with exit code 1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187668#M78044</link>
      <description>&lt;P style="margin-left: 40px;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271" target="_blank"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;I have already configured LDAP using&lt;STRONG&gt; ambari-server setup-ldap&lt;/STRONG&gt;. when I execute the &lt;STRONG&gt;ambari-server sync-ldap --users user.txt&lt;/STRONG&gt; it prompts for ambari credentials not LDAP. when I execute &lt;STRONG&gt;ambari-server sync-ldap --existing&lt;/STRONG&gt;, I entered the same ambari credentials, and it worked fine. You can check in below attached image.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="72705-ldap.png" style="width: 938px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18699i51CA36507E23E30C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="72705-ldap.png" alt="72705-ldap.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:59:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187668#M78044</guid>
      <dc:creator>heta_desai</dc:creator>
      <dc:date>2019-08-18T07:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server sync-ldap:  Exiting with exit code 1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187669#M78045</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/questions/190802/@heta%20desai"&gt;@heta desai&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Sorry maybe misunderstood you,I didn't see the creenshot.&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 20:13:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187669#M78045</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-05-08T20:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server sync-ldap:  Exiting with exit code 1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187670#M78046</link>
      <description>&lt;P style="margin-left: 40px;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;&lt;/A&gt;sorry my bad. I updated comment, you can check.&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 20:15:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187670#M78046</guid>
      <dc:creator>heta_desai</dc:creator>
      <dc:date>2018-05-08T20:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server sync-ldap:  Exiting with exit code 1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187671#M78047</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/questions/190802/@heta%20desai"&gt;@heta desai&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;From the above, your LDAP config pulls no data (users/groups) from the server so that means you have a problem with you ldapsearch function&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;What entries were added to your &lt;STRONG&gt;/etc/ambari-server/conf/ambari.properties&lt;/STRONG&gt;  can you compare it with the backup if you took one. such as&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;authentication.ldap.baseDn=
authentication.ldap.managerDn=
authentication.ldap.primaryUrl=
authentication.ldap.bindAnonymously=
authentication.ldap.dnAttribute=
authentication.ldap.groupMembershipAttr=
authentication.ldap.groupNamingAttr=
authentication.ldap.groupObjectClass=
authentication.ldap.useSSL=
authentication.ldap.userObjectClass=
authentication.ldap.usernameAttribute=&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;These are AD-related but should be similar&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 20:19:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187671#M78047</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-05-08T20:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server sync-ldap:  Exiting with exit code 1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187672#M78048</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;following are the entries in ambari.properties:&lt;/P&gt;&lt;PRE&gt;authentication.ldap.baseDn=dc=hadoop,dc=com &lt;BR /&gt;authentication.ldap.bindAnonymously=false &lt;BR /&gt;authentication.ldap.dnAttribute=dn &lt;BR /&gt;authentication.ldap.groupMembershipAttr=gidNumber &lt;BR /&gt;authentication.ldap.groupNamingAttr=cn &lt;BR /&gt;authentication.ldap.groupObjectClass=posixGroup &lt;BR /&gt;authentication.ldap.managerDn=cn=Manager,dc=hadoop,dc=com &lt;BR /&gt;authentication.ldap.managerPassword=/etc/ambari-server/conf/ldap-password.dat &lt;BR /&gt;authentication.ldap.primaryUrl=ip-00-0-00-000.ec2.internal:389 &lt;BR /&gt;authentication.ldap.useSSL=false &lt;BR /&gt;authentication.ldap.userObjectClass=inetOrgPerson
authentication.ldap.usernameAttribute=uid&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 May 2018 20:28:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187672#M78048</guid>
      <dc:creator>heta_desai</dc:creator>
      <dc:date>2018-05-08T20:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server sync-ldap:  Exiting with exit code 1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187673#M78049</link>
      <description>&lt;P&gt;&lt;EM&gt; &lt;A href="https://community.hortonworks.com/questions/190802/@heta%20desai"&gt;@heta desai&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Your sync process failed!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If you do not know the root entry of the LDAP server you are connecting to, you can query a special "meta" entry outside of the normal LDAP DIT for information about what DIT root entries it knows about &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt; ldapsearch -H ldap://server_domain_or_IP -x -LLL -s base -b "" namingContexts &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;The admin entry typically uses the simpleSecurityObject objectClass in order to gain the ability to set a password in the entry. You can use this to search for entry with this class: &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;ldapsearch -H ldap://server_domain_or_IP -x -LLL -b "dc=example,dc=com" "(objectClass=simpleSecurityObject)" dn &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;This will give you a list of the entries that use this class. Usually there is only one &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Performing the Bind&lt;/STRONG&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Once you have an entry and password, you can perform a simple bind during your request to authenticate yourself to the LDAP server. &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;ldapsearch -H ldap://server_domain_or_IP -x -D "cn=admin,dc=example,dc=com" -W &lt;/PRE&gt;&lt;P&gt;&lt;I&gt;You should get the same result as our anonymous bind, indicating that our credentials were accepted. &lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;STRONG&gt;Rerun the Ambari ldap setup &lt;/STRONG&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Use value obtained from above &lt;/I&gt;&lt;/P&gt;&lt;PRE&gt;ambari-server setup-ldap &lt;/PRE&gt;&lt;P&gt;&lt;I&gt;Y&lt;/I&gt;&lt;I&gt;ou should have users and groups now pulled from the LDAP &lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Then run ldap sync &lt;/I&gt;&lt;/P&gt;&lt;PRE&gt;ambari-server sync-ldap --existing &lt;/PRE&gt;&lt;P&gt;&lt;I&gt;Your users should now be visible in Ambari and if you enabled ranger usersync then your user should be available in Ranger too !!!&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 21:36:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187673#M78049</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-05-08T21:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server sync-ldap:  Exiting with exit code 1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187674#M78050</link>
      <description>&lt;P style="margin-left: 40px;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271" target="_blank"&gt;@Geoffrey Shelton Okot&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;I have already configured ambari ldap setup according to the value I got from ldapsearch. but still i am facing the same issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="72706-ldap1.png" style="width: 913px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18698i24CBC2DDC9B3E083/image-size/medium?v=v2&amp;amp;px=400" role="button" title="72706-ldap1.png" alt="72706-ldap1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:59:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187674#M78050</guid>
      <dc:creator>heta_desai</dc:creator>
      <dc:date>2019-08-18T07:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server sync-ldap:  Exiting with exit code 1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187675#M78051</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/questions/190802/@heta%20desai"&gt;@heta desai&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can you paste  the error here and also the ambari error&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 14:12:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187675#M78051</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-05-09T14:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server sync-ldap:  Exiting with exit code 1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187676#M78052</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;&lt;P&gt;while configuring ambari by running &lt;STRONG&gt;ambari-server setup-ldap, &lt;/STRONG&gt;set the value of &lt;STRONG&gt;Bind anonymously* = true&lt;/STRONG&gt;. Now, I can see all the LDAP users in Ambari.&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 17:18:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187676#M78052</guid>
      <dc:creator>heta_desai</dc:creator>
      <dc:date>2018-05-09T17:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server sync-ldap:  Exiting with exit code 1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187677#M78053</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;STRONG&gt;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]&lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 09 May 2018 17:19:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-server-sync-ldap-Exiting-with-exit-code-1/m-p/187677#M78053</guid>
      <dc:creator>heta_desai</dc:creator>
      <dc:date>2018-05-09T17:19:35Z</dc:date>
    </item>
  </channel>
</rss>

