<?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 Ambari - Active Directory Integration,Ambari - Active Directory Integration, it is not Syncing in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Active-Directory-Integration-Ambari-Active-Directory/m-p/184360#M75668</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using Ambari 2.2 +HDP 2.4, &lt;/P&gt;&lt;P&gt;when i try to Sync the AD Users with amabri it not Syncing,&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; ambari-server sync-ldap --groups groups.txt&lt;/P&gt;&lt;P&gt;enter the ambari password: admin/admin&lt;/P&gt;&lt;PRE&gt;Syncing specified users and groups..ERROR: Exiting with exit code 1. 
REASON: Caught exception running LDAP sync. [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, d
ata 52e, v2580]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment:
 AcceptSecurityContext error, data 52e, v2580]
&lt;/PRE&gt;&lt;P&gt;these are the parameter i have choosen while seting up.&lt;/P&gt;&lt;P&gt;ambari-server setup-ldap,&lt;/P&gt;&lt;P&gt;primary url*(host:port): xxxx:389 &lt;/P&gt;&lt;P&gt;
use SSL*(true/false) (false): &lt;/P&gt;&lt;P&gt;use object class*(user) &lt;/P&gt;&lt;P&gt;user name attribute(sAMAccountName) &lt;/P&gt;&lt;P&gt;Group Object Class*(group) &lt;/P&gt;&lt;P&gt;Group name attribute(cn) &lt;/P&gt;&lt;P&gt;Group member attribut (member) &lt;/P&gt;&lt;P&gt;Distinguish Name Attribute*(dn): distinguishedName &lt;/P&gt;&lt;P&gt;Base DN* : OU=ambari_roles,DC=mylab,DC=com&lt;/P&gt;&lt;P&gt;Reffreal Method: default &lt;/P&gt;&lt;P&gt;Bind Anonymously * [true/false](false): default &lt;/P&gt;&lt;P&gt;Manager DN* : CN=hdpsrv,OU=service_accounts,DC=mylab,DC=com&lt;/P&gt;&lt;P&gt;Enter Manager Password: ** &lt;/P&gt;&lt;P&gt;
re enter the Manager Password : **** &lt;/P&gt;&lt;P&gt;y/n : y&lt;/P&gt;&lt;P&gt;-------------------------------------------&lt;/P&gt;&lt;P&gt;this are the logs.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;PRE&gt;11 Mar 2018 18:08:58,052 ERROR [pool-9-thread-2] LdapSyncEventResourceProvider:434 - Caught exception running LDAP sync. 
org.springframework.ldap.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext er
ror, data 52e, v2580]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, co
mment: AcceptSecurityContext error, data 52e, v2580]
        at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:182)
        at org.springframework.ldap.core.support.AbstractContextSource.createContext(AbstractContextSource.java:266)
        at org.springframework.ldap.core.support.AbstractContextSource.getContext(AbstractContextSource.java:106)                           
        at org.springframework.ldap.core.support.AbstractContextSource.getReadOnlyContext(AbstractContextSource.java:125)                   
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:287)                                                         
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:259)                                                         
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:606)                                                         
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:524)                                                         
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:473)                                                         
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:493)                                                         
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:513)                                                         
        at org.apache.ambari.server.security.ldap.AmbariLdapDataPopulator.getFilteredLdapGroups(AmbariLdapDataPopulator.java:531)           
        at org.apache.ambari.server.security.ldap.AmbariLdapDataPopulator.getFilteredLdapGroups(AmbariLdapDataPopulator.java:525)           
        at org.apache.ambari.server.security.ldap.AmbariLdapDataPopulator.getLdapGroups(AmbariLdapDataPopulator.java:407)                   
        at org.apache.ambari.server.security.ldap.AmbariLdapDataPopulator.synchronizeLdapGroups(AmbariLdapDataPopulator.java:231)           
        at org.apache.ambari.server.controller.AmbariManagementControllerImpl.synchronizeLdapUsersAndGroups(AmbariManagementControllerImpl.j
ava:4192)                                                                                                                                   
        at org.apache.ambari.server.controller.internal.LdapSyncEventResourceProvider.syncLdap(LdapSyncEventResourceProvider.java:464)      
        at org.apache.ambari.server.controller.internal.LdapSyncEventResourceProvider.processSyncEvents(LdapSyncEventResourceProvider.java:4
22)                                                                                                                                         
        at org.apache.ambari.server.controller.internal.LdapSyncEventResourceProvider.access$000(LdapSyncEventResourceProvider.java:60)     
        at org.apache.ambari.server.controller.internal.LdapSyncEventResourceProvider$1.run(LdapSyncEventResourceProvider.java:246)         
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)                                                          
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)                                                                         
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)                                                  
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)                                                  
        at java.lang.Thread.run(Thread.java:745)                                                                                            
Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext err
or, data 52e, v2580]                                                                                                                        
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3088)                                                                        
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3034)                                                                   
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2836)                                                                   
        at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2750)                                                                             
        at com.sun.jndi.ldap.LdapCtx.&amp;lt;init&amp;gt;(LdapCtx.java:317)                                                                               
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)                                                            
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)                                                           
        at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)                                                     
        at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)                                                       
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)                                                         
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)                                                           
        at javax.naming.InitialContext.init(InitialContext.java:242)                                                                        
        at javax.naming.ldap.InitialLdapContext.&amp;lt;init&amp;gt;(InitialLdapContext.java:153)                                                         
        at org.springframework.ldap.core.support.LdapContextSource.getDirContextInstance(LdapContextSource.java:43)                         
        at org.springframework.ldap.core.support.AbstractContextSource.createContext(AbstractContextSource.java:254)                        
        ... 23 more     
&lt;/PRE&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Mon, 12 Mar 2018 01:45:33 GMT</pubDate>
    <dc:creator>deepunagesh1234</dc:creator>
    <dc:date>2018-03-12T01:45:33Z</dc:date>
    <item>
      <title>Ambari - Active Directory Integration,Ambari - Active Directory Integration, it is not Syncing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Active-Directory-Integration-Ambari-Active-Directory/m-p/184360#M75668</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using Ambari 2.2 +HDP 2.4, &lt;/P&gt;&lt;P&gt;when i try to Sync the AD Users with amabri it not Syncing,&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; ambari-server sync-ldap --groups groups.txt&lt;/P&gt;&lt;P&gt;enter the ambari password: admin/admin&lt;/P&gt;&lt;PRE&gt;Syncing specified users and groups..ERROR: Exiting with exit code 1. 
REASON: Caught exception running LDAP sync. [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, d
ata 52e, v2580]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment:
 AcceptSecurityContext error, data 52e, v2580]
&lt;/PRE&gt;&lt;P&gt;these are the parameter i have choosen while seting up.&lt;/P&gt;&lt;P&gt;ambari-server setup-ldap,&lt;/P&gt;&lt;P&gt;primary url*(host:port): xxxx:389 &lt;/P&gt;&lt;P&gt;
use SSL*(true/false) (false): &lt;/P&gt;&lt;P&gt;use object class*(user) &lt;/P&gt;&lt;P&gt;user name attribute(sAMAccountName) &lt;/P&gt;&lt;P&gt;Group Object Class*(group) &lt;/P&gt;&lt;P&gt;Group name attribute(cn) &lt;/P&gt;&lt;P&gt;Group member attribut (member) &lt;/P&gt;&lt;P&gt;Distinguish Name Attribute*(dn): distinguishedName &lt;/P&gt;&lt;P&gt;Base DN* : OU=ambari_roles,DC=mylab,DC=com&lt;/P&gt;&lt;P&gt;Reffreal Method: default &lt;/P&gt;&lt;P&gt;Bind Anonymously * [true/false](false): default &lt;/P&gt;&lt;P&gt;Manager DN* : CN=hdpsrv,OU=service_accounts,DC=mylab,DC=com&lt;/P&gt;&lt;P&gt;Enter Manager Password: ** &lt;/P&gt;&lt;P&gt;
re enter the Manager Password : **** &lt;/P&gt;&lt;P&gt;y/n : y&lt;/P&gt;&lt;P&gt;-------------------------------------------&lt;/P&gt;&lt;P&gt;this are the logs.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;PRE&gt;11 Mar 2018 18:08:58,052 ERROR [pool-9-thread-2] LdapSyncEventResourceProvider:434 - Caught exception running LDAP sync. 
org.springframework.ldap.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext er
ror, data 52e, v2580]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, co
mment: AcceptSecurityContext error, data 52e, v2580]
        at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:182)
        at org.springframework.ldap.core.support.AbstractContextSource.createContext(AbstractContextSource.java:266)
        at org.springframework.ldap.core.support.AbstractContextSource.getContext(AbstractContextSource.java:106)                           
        at org.springframework.ldap.core.support.AbstractContextSource.getReadOnlyContext(AbstractContextSource.java:125)                   
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:287)                                                         
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:259)                                                         
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:606)                                                         
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:524)                                                         
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:473)                                                         
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:493)                                                         
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:513)                                                         
        at org.apache.ambari.server.security.ldap.AmbariLdapDataPopulator.getFilteredLdapGroups(AmbariLdapDataPopulator.java:531)           
        at org.apache.ambari.server.security.ldap.AmbariLdapDataPopulator.getFilteredLdapGroups(AmbariLdapDataPopulator.java:525)           
        at org.apache.ambari.server.security.ldap.AmbariLdapDataPopulator.getLdapGroups(AmbariLdapDataPopulator.java:407)                   
        at org.apache.ambari.server.security.ldap.AmbariLdapDataPopulator.synchronizeLdapGroups(AmbariLdapDataPopulator.java:231)           
        at org.apache.ambari.server.controller.AmbariManagementControllerImpl.synchronizeLdapUsersAndGroups(AmbariManagementControllerImpl.j
ava:4192)                                                                                                                                   
        at org.apache.ambari.server.controller.internal.LdapSyncEventResourceProvider.syncLdap(LdapSyncEventResourceProvider.java:464)      
        at org.apache.ambari.server.controller.internal.LdapSyncEventResourceProvider.processSyncEvents(LdapSyncEventResourceProvider.java:4
22)                                                                                                                                         
        at org.apache.ambari.server.controller.internal.LdapSyncEventResourceProvider.access$000(LdapSyncEventResourceProvider.java:60)     
        at org.apache.ambari.server.controller.internal.LdapSyncEventResourceProvider$1.run(LdapSyncEventResourceProvider.java:246)         
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)                                                          
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)                                                                         
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)                                                  
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)                                                  
        at java.lang.Thread.run(Thread.java:745)                                                                                            
Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext err
or, data 52e, v2580]                                                                                                                        
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3088)                                                                        
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3034)                                                                   
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2836)                                                                   
        at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2750)                                                                             
        at com.sun.jndi.ldap.LdapCtx.&amp;lt;init&amp;gt;(LdapCtx.java:317)                                                                               
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)                                                            
        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)                                                           
        at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)                                                     
        at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)                                                       
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)                                                         
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)                                                           
        at javax.naming.InitialContext.init(InitialContext.java:242)                                                                        
        at javax.naming.ldap.InitialLdapContext.&amp;lt;init&amp;gt;(InitialLdapContext.java:153)                                                         
        at org.springframework.ldap.core.support.LdapContextSource.getDirContextInstance(LdapContextSource.java:43)                         
        at org.springframework.ldap.core.support.AbstractContextSource.createContext(AbstractContextSource.java:254)                        
        ... 23 more     
&lt;/PRE&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 01:45:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Active-Directory-Integration-Ambari-Active-Directory/m-p/184360#M75668</guid>
      <dc:creator>deepunagesh1234</dc:creator>
      <dc:date>2018-03-12T01:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari - Active Directory Integration,Ambari - Active Directory Integration, it is not Syncing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Active-Directory-Integration-Ambari-Active-Directory/m-p/184361#M75669</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/15137/deepunagesh1234.html" nodeid="15137"&gt;@Deepu  Nagesh&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Test if your details are correct via ldapsearch, for example:&lt;/P&gt;&lt;PRE&gt;ldapsearch -h &amp;lt;YOUR AD URL WITHOUT PROTOCOL&amp;gt; -p 389 -x -D 'CN=hdpsrv,OU=service_accounts,DC=mylab,DC=com' -W -b 'OU=ambari_roles,DC=mylab,DC=com'&lt;/PRE&gt;&lt;P&gt;If you connect successfully then keep testing the other parameters that you have set-up in the Ambari AD configuration, to confirm that the Ambari AD configuration was set-up properly accordingly with your AD settings.&lt;/P&gt;&lt;P&gt;As the error that the AD is throwing is "52e" meaning that is Invalid AD Credentials.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Gonçalo&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 16:16:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Active-Directory-Integration-Ambari-Active-Directory/m-p/184361#M75669</guid>
      <dc:creator>gcunha</dc:creator>
      <dc:date>2018-03-13T16:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari - Active Directory Integration,Ambari - Active Directory Integration, it is not Syncing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Active-Directory-Integration-Ambari-Active-Directory/m-p/184362#M75670</link>
      <description>&lt;P&gt;I Resolved the issue, I have changed the Bind user itself....the issue with AD User.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 22:54:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Active-Directory-Integration-Ambari-Active-Directory/m-p/184362#M75670</guid>
      <dc:creator>deepunagesh1234</dc:creator>
      <dc:date>2019-04-24T22:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari - Active Directory Integration,Ambari - Active Directory Integration, it is not Syncing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Active-Directory-Integration-Ambari-Active-Directory/m-p/184363#M75671</link>
      <description>&lt;P&gt;Have pasted the blog, which helped me fix the Above&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://ephesoft.com/docs/kb00022563-javax-naming-authenticationexception-ldap-error-code-49-80090308-ldaperr-dsid-0c09042f-comment-acceptsecuritycontext-error-data-532-v2580/"&gt;https://ephesoft.com/docs/kb00022563-javax-naming-authenticationexception-ldap-error-code-49-80090308-ldaperr-dsid-0c09042f-comment-acceptsecuritycontext-error-data-532-v2580/&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 13:55:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Active-Directory-Integration-Ambari-Active-Directory/m-p/184363#M75671</guid>
      <dc:creator>deepunagesh1234</dc:creator>
      <dc:date>2019-04-25T13:55:24Z</dc:date>
    </item>
  </channel>
</rss>

