<?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 LDAP Sync Issue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95488#M58847</link>
    <description>&lt;P&gt;Yes, admin user is in AD.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Oct 2015 22:22:32 GMT</pubDate>
    <dc:creator>rgarcia</dc:creator>
    <dc:date>2015-10-15T22:22:32Z</dc:date>
    <item>
      <title>Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95481#M58840</link>
      <description>&lt;P&gt;Have a working AD and ldapsearch works from Linux node to AD machine. Trying to setup Ambari to integrate with AD using LDAP with SSl set to 'true' and getting an SSL error.  See below.&lt;/P&gt;&lt;PRE&gt;[root@rgarcia-hdp23201 ~]# ambari-server setup-ldap

Using python  /usr/bin/python2.6

Setting up LDAP properties...

Primary URL* {host:port} (host:389): host:636

Secondary URL {host:port} (host:389): host:636

Use SSL* [true/false] (true): true

User object class* (user): 

User name attribute* (cn): 

Group object class* (group): 

Group name attribute* (cn): 

Group member attribute* (memberUid): 

Distinguished name attribute* (dn): 

Base DN* (OU=Rommel_Garcia_Accounts,DC=AD-HDP,DC=COM): OU=Rommel_Garcia_Accounts,DC=AD-HDP,DC=COM

Referral method [follow/ignore] (follow): 

Bind anonymously* [true/false] (false): false

Manager DN* (CN=adadmin,OU=MyUsers,DC=AD-HDP,DC=COM): CN=adadmin,OU=MyUsers,DC=AD-HDP,DC=COM

Enter Manager Password* : 

Re-enter password: 

Do you want to provide custom TrustStore for Ambari [y/n] (y)?y

TrustStore type [jks/jceks/pkcs12] (jks):jks

Path to TrustStore file (/etc/ambari-server/keys/ldaps-keystore.jks):/etc/ambari-server/keys/ldaps-keystore.jks

Password for TrustStore:

Re-enter password: 

====================

Review Settings

====================

authentication.ldap.managerDn: CN=adadmin,OU=MyUsers,DC=AD-HDP,DC=COM

authentication.ldap.managerPassword: *****

ssl.trustStore.type: jks

ssl.trustStore.path: /etc/ambari-server/keys/ldaps-keystore.jks

ssl.trustStore.password: *****

Save settings [y/n] (y)? y

Saving...done

Ambari Server 'setup-ldap' completed successfully.

You have new mail in /var/spool/mail/root

[root@rgarcia-hdp23201 ~]# ambari-server restart

Using python  /usr/bin/python2.6

Restarting ambari-server

Using python  /usr/bin/python2.6

Stopping ambari-server

Ambari Server stopped

Using python  /usr/bin/python2.6

Starting ambari-server

Ambari Server running with administrator privileges.

Organizing resource files at /var/lib/ambari-server/resources...

Server PID at: /var/run/ambari-server/ambari-server.pid

Server out at: /var/log/ambari-server/ambari-server.out

Server log at: /var/log/ambari-server/ambari-server.log

Waiting for server start....................

Ambari Server 'start' completed successfully.

[root@rgarcia-hdp23201 ~]# ambari-server sync-ldap --all

Using python  /usr/bin/python2.6

Syncing with LDAP...

Enter Ambari Admin login: admin

Enter Ambari Admin password: 

Syncing all...ERROR: Exiting with exit code 1. 

REASON: Caught exception running LDAP sync. host:636; nested exception is javax.naming.CommunicationException:
host:636 [Root exception is java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)]
[root@rgarcia-hdp23201 ~]# ambari-server sync-ldap --all
Using python /usr/bin/python2.6
Syncing with LDAP...
Enter Ambari Admin login: adadmin
Enter Ambari Admin password:
Syncing all.ERROR: Exiting with exit code 1.
REASON: Sync event creation failed. Error details: HTTP Error 403:
host:636; nested exception is javax.naming.CommunicationException:
host:636 [Root exception is java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)]
&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Oct 2015 08:11:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95481#M58840</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2015-10-14T08:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95482#M58841</link>
      <description>&lt;P&gt;@&lt;A href="http://community.hortonworks.com/users/112/rgarcia.html"&gt;rgarcia@hortonworks.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This may help. Status code 403 responses are the result of the web server being configured to deny access, for some reason, to the requested resource by the client.&lt;/P&gt;&lt;PRE&gt;[root@testhwx01 ~]# ambari-server stop
Using python  /usr/bin/python2.6
Stopping ambari-server
Ambari Server stopped
[root@testhwx01 ~]# ambari-server setup-ldap
Using python  /usr/bin/python2.6
Setting up LDAP properties...
Primary URL* {host:port} (xxxx:389):
Secondary URL {host:port} :
Use SSL* [true/false] (false):
User object class* (posixAccount): user
User name attribute* (sAMAccountName): sAMAccountName
Group object class* (group):
Group name attribute* (cn):
Group member attribute* (member):
Distinguished name attribute* (dn):
Base DN* (DC=nsabharwal,DC=com):
Referral method [follow/ignore] (follow):
Bind anonymously* [true/false] (false):
Manager DN* (CN=LDAP Access,OU=Service Accounts,DC=nsabharwal,DC=com):
Enter Manager Password* :
Re-enter password:
====================
Review Settings
====================
authentication.ldap.managerDn: CN=LDAP Access,OU=Service Accounts,DC=nsabharwal,DC=com
authentication.ldap.managerPassword: *****
Save settings [y/n] (y)?
Saving...done
Ambari Server 'setup-ldap' completed successfully.
[root@testhwx01 ~]# ambari-server start
Using python  /usr/bin/python2.6
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start....................
Ambari Server 'start' completed successfully.
[root@testhwx01 ~]# ambari-server sync-ldap --all
Using python  /usr/bin/python2.6
Syncing with LDAP...
Enter Ambari Admin login:
Property cannot be blank.
Enter Ambari Admin login: admin
Enter Ambari Admin password:
Syncing all...
Completed LDAP Sync.
Summary:
  memberships:
  removed = 0
  created = 0
  users:
  updated = 1
  removed = 0
  created = 10
  groups:
  updated = 0
  removed = 0
  created = 0
Ambari Server 'sync-ldap' completed successfully.
[root@testhwx01 ~]#
Please check the port host:636&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Oct 2015 08:18:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95482#M58841</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-10-14T08:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95483#M58842</link>
      <description>&lt;P&gt;I was able to sync the LDAP users to Ambari but all of the ldap users are not able to login to Ambari UI. admin/admin local account no longer can login as well. Getting 403 Forbidden errors.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 09:42:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95483#M58842</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2015-10-14T09:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95484#M58843</link>
      <description>&lt;P&gt;Do you have admin user in AD? &lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 16:52:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95484#M58843</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-10-14T16:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95485#M58844</link>
      <description>&lt;P&gt;I'm having similar issues, but in my case I'm trying to sync with FreeIPA:&lt;/P&gt;&lt;PRE&gt;[root@hdp23 ambari-server]# ambari-server setup-ldap
Using python  /usr/bin/python2.6
Setting up LDAP properties...
Primary URL* {host:port} (ipa.hadoop.braccialli:389):
Secondary URL {host:port} :
Use SSL* [true/false] (false):
User object class* (posixAccount):
User name attribute* (uid):
Group object class* (posixGroup):
Group name attribute* (cn):
Group member attribute* (memberUid):
Distinguished name attribute* (dn):
Base DN* (cn=accounts,dc=hadoop,dc=braccialli):
Referral method [follow/ignore] : follow
Bind anonymously* [true/false] (false):
Manager DN* (uid=admin,cn=users,cn=accounts,dc=hadoop,dc=braccialli):
Enter Manager Password* :
Re-enter password:
====================
Review Settings
====================
authentication.ldap.managerDn: uid=admin,cn=users,cn=accounts,dc=hadoop,dc=braccialli
authentication.ldap.managerPassword: *****
Save settings [y/n] (y)? y
Saving...done
Ambari Server 'setup-ldap' completed successfully.
[root@hdp23 ambari-server]# ambari-server restart
Using python  /usr/bin/python2.6
Restarting ambari-server
Using python  /usr/bin/python2.6
Stopping ambari-server
Ambari Server stopped
Using python  /usr/bin/python2.6
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start....................
Ambari Server 'start' completed successfully.
[root@hdp23 ambari-server]# ambari-server sync-ldap --all
Using python  /usr/bin/python2.6
Syncing with LDAP...
Enter Ambari Admin login: admin
Enter Ambari Admin password:
Syncing all.ERROR: Exiting with exit code 1.
REASON: Sync event creation failed. Error details: HTTP Error 403: You do not have permissions to access this resource.


from /var/log/ambari-server/ambari-server.log I get:
14 Oct 2015 07:12:31,544  INFO [qtp-client-21] FilterBasedLdapUserSearch:89 - SearchBase not set. Searches will be performed from the root: cn=accounts,dc=hadoop,dc=braccialli
14 Oct 2015 07:12:31,584 ERROR [qtp-client-21] AmbariLdapAuthoritiesPopulator:70 - Can't get authorities for user admin, he is not present in local DB


&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Oct 2015 18:13:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95485#M58844</guid>
      <dc:creator>gbraccialli3</dc:creator>
      <dc:date>2015-10-14T18:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95486#M58845</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/112/rgarcia.html" nodeid="112"&gt;@rgarcia@hortonworks.com&lt;/A&gt;&lt;P&gt;If the admin user is synchronized from AD, then you will have to update the Ambari DB and update it. You should probably create a backup admin user with different name with Admin privileges in Ambari.&lt;/P&gt;&lt;P&gt;mysql&amp;gt; use ambaricustom &lt;/P&gt;&lt;P&gt;mysql&amp;gt; update users set ldap_user=0 where user_name='admin';&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 00:29:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95486#M58845</guid>
      <dc:creator>bdurai</dc:creator>
      <dc:date>2015-10-15T00:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95487#M58846</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/238/gbraccialli.html" nodeid="238"&gt;@Guilherme Braccialli&lt;/A&gt; here is the config we used for IPA. When providing the Ambari admin user/pass, this needs to exist in your IPA. So in my example I passes in admin/hortonworks. If you are passing in admin/admin it probably won't work:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/abajwa-hw/security-workshops/blob/master/Setup-Ambari.md#authentication-via-ldap"&gt;https://github.com/abajwa-hw/security-workshops/blob/master/Setup-Ambari.md#authentication-via-ldap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note that group memberships won't work since IPA uses openLDAP which does not expose the DN. &lt;A rel="user" href="https://community.cloudera.com/users/32/paul.html" nodeid="32"&gt;@Paul Codding&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/175/dstreever.html" nodeid="175"&gt;@David Streever&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/150/sroberts.html" nodeid="150"&gt;@Sean Roberts&lt;/A&gt; and I found this the hard way. See &lt;A href="https://hortonworks.jira.com/browse/BUG-45536"&gt;BUG-45536&lt;/A&gt; for more info (and up vote!)&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 10:43:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95487#M58846</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-10-15T10:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95488#M58847</link>
      <description>&lt;P&gt;Yes, admin user is in AD.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 22:22:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95488#M58847</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2015-10-15T22:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95489#M58848</link>
      <description>&lt;P&gt;I tried logging in to mysql using the admin/admin account but won't let me in. Also tried root@hostname, same issue.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 22:31:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95489#M58848</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2015-10-15T22:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95490#M58849</link>
      <description>&lt;P&gt;Ambari is using PostgreSQL and I've updated the active flag of local "admin" user in the users table and now am able to login as admin/admin. Now the AD users appear in the Ambari Users list. However, if I try to login as one of the AD users, its giving this error &lt;STRONG&gt;Unable to sign in. Invalid username/password combination.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 00:17:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95490#M58849</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2015-10-16T00:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95491#M58850</link>
      <description>&lt;P&gt;I was able to resolve my issue by going into Active Directory and changing all the user's password policy from "User must change password at next logon" to "Password never expires". Now all users are able to login to Ambari.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/247-ad-users.png"&gt;ad-users.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 01:09:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95491#M58850</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2015-10-16T01:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95492#M58851</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/132/abajwa.html" nodeid="132"&gt;@abajwa@hortonworks.com&lt;/A&gt;, yes I'm following your guide. As you pointed the problem was wrong password, I was using LDAP password instead of ambari one.&lt;/P&gt;&lt;P&gt;This group membership issue affects only ambari or also affects Ranger usersync?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 10:13:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95492#M58851</guid>
      <dc:creator>gbraccialli3</dc:creator>
      <dc:date>2015-10-16T10:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95493#M58852</link>
      <description>&lt;P&gt;I follow your steps as given above but i got connection refused issue that is mension below&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# ambari-server setup-ldap &lt;/P&gt;&lt;P&gt;Using python  /usr/bin/python2 &lt;/P&gt;&lt;P&gt;Setting up LDAP properties... &lt;/P&gt;&lt;P&gt;Primary URL* {host:port} (localhost:636): localhost:389 &lt;/P&gt;&lt;P&gt;Secondary URL {host:port} : &lt;/P&gt;&lt;P&gt;
Use SSL* [true/false] (false): &lt;/P&gt;&lt;P&gt;
User object class* (person): &lt;/P&gt;&lt;P&gt;
User name attribute* (cn): &lt;/P&gt;&lt;P&gt; 
Group object class* (posixGroup): group &lt;/P&gt;&lt;P&gt;Group name attribute* (memberof): cn &lt;/P&gt;&lt;P&gt;Group member attribute* (memberUid): member &lt;/P&gt;&lt;P&gt;Distinguished name attribute* (dn): dn &lt;/P&gt;&lt;P&gt;Base DN* (ou=people,dc=hadoop,dc=apache,dc=org): &lt;/P&gt;&lt;P&gt;
Referral method [follow/ignore] (ignore): follow &lt;/P&gt;&lt;P&gt;Bind anonymously* [true/false] (false): &lt;/P&gt;&lt;P&gt;
Manager DN* (uid=hdfs,ou=people,dc=hadoop,dc=apache,dc=org): &lt;/P&gt;&lt;P&gt;
Enter Manager Password* : &lt;/P&gt;&lt;P&gt;
Re-enter password: &lt;/P&gt;&lt;P&gt;
==================== &lt;/P&gt;&lt;P&gt;Review Settings &lt;/P&gt;&lt;P&gt;==================== &lt;/P&gt;&lt;P&gt;authentication.ldap.managerDn: uid=hdfs,ou=people,dc=hadoop,dc=apache,dc=org
authentication.ldap.managerPassword: ***** &lt;/P&gt;&lt;P&gt;Save settings [y/n] (y)? y
Saving...done &lt;/P&gt;&lt;P&gt;Ambari Server 'setup-ldap' completed successfully. &lt;/P&gt;&lt;P&gt;[root@sandbox ~]# ambari-server start &lt;/P&gt;&lt;P&gt;Using python  /usr/bin/python2 &lt;/P&gt;&lt;P&gt;Starting ambari-server &lt;/P&gt;&lt;P&gt;Ambari Server running with administrator privileges. &lt;/P&gt;&lt;P&gt;Organizing resource files at /var/lib/ambari-server/resources... &lt;/P&gt;&lt;P&gt;Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log &lt;/P&gt;&lt;P&gt;Waiting for server start.................... &lt;/P&gt;&lt;P&gt;Ambari Server 'start' completed successfully. &lt;/P&gt;&lt;P&gt;[root@sandbox ~]# ambari-server sync-ldap --&lt;/P&gt;&lt;P&gt;all
Using python  /usr/bin/python2 &lt;/P&gt;&lt;P&gt;Syncing with LDAP... &lt;/P&gt;&lt;P&gt;Enter Ambari Admin login: &lt;/P&gt;&lt;P&gt;admin
Enter Ambari Admin password: &lt;/P&gt;&lt;P&gt;
Syncing all..ERROR: Exiting with exit code 1. 
REASON: Caught exception running LDAP sync. localhost:389; nested exception is javax.naming.CommunicationException: localhost:389 [Root exception is java.net.ConnectException: Connection refused (Connection refused)]&lt;/P&gt;&lt;P&gt;
[root@sandbox ~]# &lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 18:28:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95493#M58852</guid>
      <dc:creator>narasimha_varma</dc:creator>
      <dc:date>2016-12-20T18:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95494#M58853</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;Im facing the same issue error 403 as you earlier and i'm not able to logging with my ambari admin logging after Ambari and LDAP sync failed.&lt;/P&gt;&lt;P&gt;please, i'm looking for integrating LDAP server with hortonworks sandbox Ambari (HDP 2.5) and ambari-server --version 2.4.0.0-1225 i have tried twice to run "ambari-server setup-ldap" and "ambari-server sync-ldap –all" twice, but i'm keeping having error 403 at the beginning of LDAP Sync. when this error come up, i'm not able anymore to logging into Ambari UI with my Ambari credentials (admin/password). even after reseting my password with "ambari-admin-password-reset". but what i've observed so far is that i could in logging with "maria_dev/maria_dev" credential and also with some new user i have added during LDAP setup server. i was wondering if this could be a password migration tools that is doing the wrong password migration? i have checked the user "admin" in my LDAP database, and i can observe that it's not encrypted in the same way as user like maria_dev or raj_ops!! (see below): can this cause trouble during my ambari-server and LDAP synchronization? or it is due to my ambari-server LDAP setup settings?&lt;/P&gt;&lt;P&gt;==&amp;gt; MARIA_DEV INFORMATIONS&lt;BR /&gt;[root@sandbox ~]# ldapsearch -x cn=maria_dev -b dc=hortonworks,dc=com&lt;BR /&gt;# extended LDIF&lt;BR /&gt;#&lt;BR /&gt;# LDAPv3&lt;BR /&gt;# base with scope subtree&lt;BR /&gt;# filter: cn=maria_dev&lt;BR /&gt;# requesting: ALL&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;# maria_dev, People, hortonworks.com&lt;BR /&gt;dn: uid=maria_dev,ou=People,dc=hortonworks,dc=com&lt;BR /&gt;uid: maria_dev&lt;BR /&gt;cn: maria_dev&lt;BR /&gt;sn: maria_dev&lt;BR /&gt;mail: &lt;A href="mailto:maria_dev@hortonworks.com"&gt;maria_dev@hortonworks.com&lt;/A&gt;&lt;BR /&gt;objectClass: person&lt;BR /&gt;objectClass: organizationalPerson&lt;BR /&gt;objectClass: inetOrgPerson&lt;BR /&gt;objectClass: posixAccount&lt;BR /&gt;objectClass: top&lt;BR /&gt;objectClass: shadowAccount&lt;BR /&gt;userPassword:: e2NyeXB0fSQ2JC94YTFDb0dTMnAvOC4yRCQ3MDkuL1pYRHpnV01vVGIzeWdnNnd&lt;BR /&gt;HNUNuM2ZXck82QTBzUGhOZzVFZEpodjF2LmRTQnBEelJUMHpPaFBUdmxZSzhGU3NVZEppS1M2QUFo&lt;BR /&gt;OXpqLld1MQ==&lt;BR /&gt;shadowLastChange: 17099&lt;BR /&gt;shadowMin: 0&lt;BR /&gt;shadowMax: 99999&lt;BR /&gt;shadowWarning: 7&lt;BR /&gt;loginShell: /bin/bash&lt;BR /&gt;uidNumber: 1023&lt;BR /&gt;gidNumber: 1023&lt;BR /&gt;homeDirectory: /home/maria_dev&lt;/P&gt;&lt;P&gt;# maria_dev, Group, hortonworks.com&lt;BR /&gt;dn: cn=maria_dev,ou=Group,dc=hortonworks,dc=com&lt;BR /&gt;objectClass: posixGroup&lt;BR /&gt;objectClass: top&lt;BR /&gt;cn: maria_dev&lt;BR /&gt;userPassword:: e2NyeXB0fXg=&lt;BR /&gt;gidNumber: 1023&lt;/P&gt;&lt;P&gt;=======&amp;gt; ADMIN INFORMATION:&lt;BR /&gt;[root@sandbox ~]# ldapsearch -x cn=admin -b dc=hortonworks,dc=com&lt;BR /&gt;# extended LDIF&lt;BR /&gt;#&lt;BR /&gt;# LDAPv3&lt;BR /&gt;# base with scope subtree&lt;BR /&gt;# filter: cn=admin&lt;BR /&gt;# requesting: ALL&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;# admin, People, hortonworks.com&lt;BR /&gt;dn: uid=admin,ou=People,dc=hortonworks,dc=com&lt;BR /&gt;uid: admin&lt;BR /&gt;cn: admin&lt;BR /&gt;sn: admin&lt;BR /&gt;mail: &lt;A href="mailto:admin@hortonworks.com"&gt;admin@hortonworks.com&lt;/A&gt;&lt;BR /&gt;objectClass: person&lt;BR /&gt;objectClass: organizationalPerson&lt;BR /&gt;objectClass: inetOrgPerson&lt;BR /&gt;objectClass: posixAccount&lt;BR /&gt;objectClass: top&lt;BR /&gt;objectClass: shadowAccount&lt;BR /&gt;userPassword:: e2NyeXB0fSEh&lt;BR /&gt;shadowLastChange: 17099&lt;BR /&gt;shadowMin: 0&lt;BR /&gt;shadowMax: 99999&lt;BR /&gt;shadowWarning: 7&lt;BR /&gt;loginShell: /bin/bash&lt;BR /&gt;uidNumber: 1005&lt;BR /&gt;gidNumber: 1005&lt;BR /&gt;homeDirectory: /home/admin&lt;/P&gt;&lt;P&gt;# admin, Group, hortonworks.com&lt;BR /&gt;dn: cn=admin,ou=Group,dc=hortonworks,dc=com&lt;BR /&gt;objectClass: posixGroup&lt;BR /&gt;objectClass: top&lt;BR /&gt;cn: admin&lt;BR /&gt;userPassword:: e2NyeXB0fXg=&lt;BR /&gt;gidNumber: 1005&lt;/P&gt;&lt;P&gt;# search result&lt;BR /&gt;search: 2&lt;BR /&gt;result: 0 Success&lt;/P&gt;&lt;P&gt;thanks a lot for your help.&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;sidoine.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 22:14:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95494#M58853</guid>
      <dc:creator>sidoine_kakeuh-</dc:creator>
      <dc:date>2017-09-08T22:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari LDAP Sync Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95495#M58854</link>
      <description>&lt;P&gt;hello Neerraj,&lt;/P&gt;&lt;P&gt; i'm looking for integrating LDAP server with hortonworks sandbox Ambari (HDP 2.5) and ambari-server --version 2.4.0.0-1225 i have tried twice to run "ambari-server setup-ldap" and "ambari-server sync-ldap –all" twice, but i'm keeping having error 403 at the beginning of LDAP Sync. when this error come up, i'm not able anymore to logging into Ambari UI with my Ambari credentials (admin/password). even after reseting my password with "ambari-admin-password-reset". but what i've observed so far is that i could in logging with "maria_dev/maria_dev" credential and also with some new user i have added during LDAP setup server. i was wondering if this could be a password migration tools that is doing the wrong password migration? i have checked the user "admin" in my LDAP database, and i can observe that it's not encrypted in the same way as user like maria_dev or raj_ops!! (see below): can this cause trouble during my ambari-server and LDAP synchronization? or it is due to my ambari-server LDAP setup settings? &lt;/P&gt;&lt;P&gt;==&amp;gt; MARIA_DEV INFORMATIONS&lt;BR /&gt;[root@sandbox ~]# ldapsearch -x cn=maria_dev -b dc=hortonworks,dc=com&lt;BR /&gt;# extended LDIF&lt;BR /&gt;#&lt;BR /&gt;# LDAPv3&lt;BR /&gt;# base with scope subtree&lt;BR /&gt;# filter: cn=maria_dev&lt;BR /&gt;# requesting: ALL&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;# maria_dev, People, hortonworks.com&lt;BR /&gt;dn: uid=maria_dev,ou=People,dc=hortonworks,dc=com&lt;BR /&gt;uid: maria_dev&lt;BR /&gt;cn: maria_dev&lt;BR /&gt;sn: maria_dev&lt;BR /&gt;mail: &lt;A href="mailto:maria_dev@hortonworks.com"&gt;maria_dev@hortonworks.com&lt;/A&gt;&lt;BR /&gt;objectClass: person&lt;BR /&gt;objectClass: organizationalPerson&lt;BR /&gt;objectClass: inetOrgPerson&lt;BR /&gt;objectClass: posixAccount&lt;BR /&gt;objectClass: top&lt;BR /&gt;objectClass: shadowAccount&lt;BR /&gt;userPassword:: e2NyeXB0fSQ2JC94YTFDb0dTMnAvOC4yRCQ3MDkuL1pYRHpnV01vVGIzeWdnNnd&lt;BR /&gt;HNUNuM2ZXck82QTBzUGhOZzVFZEpodjF2LmRTQnBEelJUMHpPaFBUdmxZSzhGU3NVZEppS1M2QUFo&lt;BR /&gt;OXpqLld1MQ==&lt;BR /&gt;shadowLastChange: 17099&lt;BR /&gt;shadowMin: 0&lt;BR /&gt;shadowMax: 99999&lt;BR /&gt;shadowWarning: 7&lt;BR /&gt;loginShell: /bin/bash&lt;BR /&gt;uidNumber: 1023&lt;BR /&gt;gidNumber: 1023&lt;BR /&gt;homeDirectory: /home/maria_dev&lt;/P&gt;&lt;P&gt;# maria_dev, Group, hortonworks.com&lt;BR /&gt;dn: cn=maria_dev,ou=Group,dc=hortonworks,dc=com&lt;BR /&gt;objectClass: posixGroup&lt;BR /&gt;objectClass: top&lt;BR /&gt;cn: maria_dev&lt;BR /&gt;userPassword:: e2NyeXB0fXg=&lt;BR /&gt;gidNumber: 1023&lt;/P&gt;&lt;P&gt;=======&amp;gt; ADMIN INFORMATION:&lt;BR /&gt;[root@sandbox ~]# ldapsearch -x cn=admin -b dc=hortonworks,dc=com&lt;BR /&gt;# extended LDIF&lt;BR /&gt;#&lt;BR /&gt;# LDAPv3&lt;BR /&gt;# base with scope subtree&lt;BR /&gt;# filter: cn=admin&lt;BR /&gt;# requesting: ALL&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;# admin, People, hortonworks.com&lt;BR /&gt;dn: uid=admin,ou=People,dc=hortonworks,dc=com&lt;BR /&gt;uid: admin&lt;BR /&gt;cn: admin&lt;BR /&gt;sn: admin&lt;BR /&gt;mail: &lt;A href="mailto:admin@hortonworks.com"&gt;admin@hortonworks.com&lt;/A&gt;&lt;BR /&gt;objectClass: person&lt;BR /&gt;objectClass: organizationalPerson&lt;BR /&gt;objectClass: inetOrgPerson&lt;BR /&gt;objectClass: posixAccount&lt;BR /&gt;objectClass: top&lt;BR /&gt;objectClass: shadowAccount&lt;BR /&gt;userPassword:: e2NyeXB0fSEh&lt;BR /&gt;shadowLastChange: 17099&lt;BR /&gt;shadowMin: 0&lt;BR /&gt;shadowMax: 99999&lt;BR /&gt;shadowWarning: 7&lt;BR /&gt;loginShell: /bin/bash&lt;BR /&gt;uidNumber: 1005&lt;BR /&gt;gidNumber: 1005&lt;BR /&gt;homeDirectory: /home/admin&lt;/P&gt;&lt;P&gt;# admin, Group, hortonworks.com&lt;BR /&gt;dn: cn=admin,ou=Group,dc=hortonworks,dc=com&lt;BR /&gt;objectClass: posixGroup&lt;BR /&gt;objectClass: top&lt;BR /&gt;cn: admin&lt;BR /&gt;userPassword:: e2NyeXB0fXg=&lt;BR /&gt;gidNumber: 1005&lt;/P&gt;&lt;P&gt;# search result&lt;BR /&gt;search: 2&lt;BR /&gt;result: 0 Success&lt;/P&gt;&lt;P&gt;thanks a lot for your help.&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;sidoine.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 22:14:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-LDAP-Sync-Issue/m-p/95495#M58854</guid>
      <dc:creator>sidoine_kakeuh-</dc:creator>
      <dc:date>2017-09-08T22:14:51Z</dc:date>
    </item>
  </channel>
</rss>

