<?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 Zeppelin 0.8.0 to Active Directory with ldaps on 636 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-0-8-0-to-Active-Directory-with-ldaps-on-636/m-p/232782#M82847</link>
    <description>&lt;P&gt;We have a binddn account with a space in the name cn=account,ou=System Accounts,dc=my,dc=domain,dc=com.  Keep getting ldap 49 data 52e.  All pertinent certificates are in the zeppelin truststore. Using activedirectorygrouprealm.&lt;/P&gt;&lt;P&gt;Any working example configs for ldaps on 636 for active directory would be most welcome.&lt;/P&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e, v2580]
 at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3154)
 at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3100)
 at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2886)
 at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2800)
 at com.sun.jndi.ldap.LdapCtx.&amp;lt;init&amp;gt;(LdapCtx.java:319)
 at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)
 at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210)
 at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153)
 at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83)
 at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
 at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
 at javax.naming.InitialContext.init(InitialContext.java:244)
 at javax.naming.ldap.InitialLdapContext.&amp;lt;init&amp;gt;(InitialLdapContext.java:154)
 at org.apache.shiro.realm.ldap.DefaultLdapContextFactory.createLdapContext(DefaultLdapContextFactory.java:276)
 at org.apache.shiro.realm.ldap.DefaultLdapContextFactory.getLdapContext(DefaultLdapContextFactory.java:263)
 at org.apache.shiro.realm.ldap.DefaultLdapContextFactory.getLdapContext(DefaultLdapContextFactory.java:224)
 at org.apache.shiro.realm.ldap.DefaultLdapContextFactory.getSystemLdapContext(DefaultLdapContextFactory.java:205)
 at org.apache.zeppelin.realm.ActiveDirectoryGroupRealm.queryForAuthorizationInfo(ActiveDirectoryGroupRealm.java:240)
 at org.apache.zeppelin.realm.ActiveDirectoryGroupRealm.doGetAuthorizationInfo(ActiveDirectoryGroupRealm.java:139)
 ... 69 more
 WARN [2018-08-28 19:36:32,267] ({qtp2136344592-17 - /api/login} HttpChannel.java[handleException]:482) - Could not send response error 500: javax.servlet.ServletException: org.apache.shiro.authz.AuthorizationException: LDAP naming error while attempting to retrieve authorization for user [ldapsmothra].&lt;/P&gt;</description>
    <pubDate>Wed, 29 Aug 2018 02:39:36 GMT</pubDate>
    <dc:creator>NateRutland</dc:creator>
    <dc:date>2018-08-29T02:39:36Z</dc:date>
    <item>
      <title>Zeppelin 0.8.0 to Active Directory with ldaps on 636</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-0-8-0-to-Active-Directory-with-ldaps-on-636/m-p/232782#M82847</link>
      <description>&lt;P&gt;We have a binddn account with a space in the name cn=account,ou=System Accounts,dc=my,dc=domain,dc=com.  Keep getting ldap 49 data 52e.  All pertinent certificates are in the zeppelin truststore. Using activedirectorygrouprealm.&lt;/P&gt;&lt;P&gt;Any working example configs for ldaps on 636 for active directory would be most welcome.&lt;/P&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e, v2580]
 at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3154)
 at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3100)
 at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2886)
 at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2800)
 at com.sun.jndi.ldap.LdapCtx.&amp;lt;init&amp;gt;(LdapCtx.java:319)
 at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)
 at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210)
 at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153)
 at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83)
 at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
 at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
 at javax.naming.InitialContext.init(InitialContext.java:244)
 at javax.naming.ldap.InitialLdapContext.&amp;lt;init&amp;gt;(InitialLdapContext.java:154)
 at org.apache.shiro.realm.ldap.DefaultLdapContextFactory.createLdapContext(DefaultLdapContextFactory.java:276)
 at org.apache.shiro.realm.ldap.DefaultLdapContextFactory.getLdapContext(DefaultLdapContextFactory.java:263)
 at org.apache.shiro.realm.ldap.DefaultLdapContextFactory.getLdapContext(DefaultLdapContextFactory.java:224)
 at org.apache.shiro.realm.ldap.DefaultLdapContextFactory.getSystemLdapContext(DefaultLdapContextFactory.java:205)
 at org.apache.zeppelin.realm.ActiveDirectoryGroupRealm.queryForAuthorizationInfo(ActiveDirectoryGroupRealm.java:240)
 at org.apache.zeppelin.realm.ActiveDirectoryGroupRealm.doGetAuthorizationInfo(ActiveDirectoryGroupRealm.java:139)
 ... 69 more
 WARN [2018-08-28 19:36:32,267] ({qtp2136344592-17 - /api/login} HttpChannel.java[handleException]:482) - Could not send response error 500: javax.servlet.ServletException: org.apache.shiro.authz.AuthorizationException: LDAP naming error while attempting to retrieve authorization for user [ldapsmothra].&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 02:39:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-0-8-0-to-Active-Directory-with-ldaps-on-636/m-p/232782#M82847</guid>
      <dc:creator>NateRutland</dc:creator>
      <dc:date>2018-08-29T02:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin 0.8.0 to Active Directory with ldaps on 636</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-0-8-0-to-Active-Directory-with-ldaps-on-636/m-p/232783#M82848</link>
      <description>&lt;P&gt;activeDirectoryRealm = org.apache.zeppelin.realm.ActiveDirectoryGroupRealm &lt;/P&gt;&lt;P&gt;#activeDirectoryRealm.systemUsername = CN=ldapsmothra,OU=System Accounts,OU=bogus,DC=my,DC=domain,DC=com activeDirectoryRealm.systemUsername = ldapsmothra@my.domain.com&lt;/P&gt;&lt;P&gt;
activeDirectoryRealm.systemPassword = notthepassword &lt;/P&gt;&lt;P&gt;activeDirectoryRealm.searchBase = ou=bogus,DC=my,dc=domain,dc=com&lt;/P&gt;&lt;P&gt; activeDirectoryRealm.url = ldaps://dc1.my.domain.com:636&lt;/P&gt;&lt;P&gt;
activeDirectoryRealm.groupRolesMap = "ou=users,OU=Security Groups,ou=bogus,DC=my,dc=domain,dc=com":"admin"
activeDirectoryRealm.authorizationCachingEnabled = false &lt;/P&gt;&lt;P&gt;activeDirectoryRealm.principalSuffix = @my.domain.com&lt;/P&gt;&lt;P&gt;securityManager.realms = $activeDirectoryRealm&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 02:44:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-0-8-0-to-Active-Directory-with-ldaps-on-636/m-p/232783#M82848</guid>
      <dc:creator>NateRutland</dc:creator>
      <dc:date>2018-08-29T02:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin 0.8.0 to Active Directory with ldaps on 636</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-0-8-0-to-Active-Directory-with-ldaps-on-636/m-p/232784#M82849</link>
      <description>&lt;P&gt;I finally figured this out....&lt;/P&gt;&lt;P&gt;you MUST use the shortname for activeDirectoryRealm.systemUsername without domain and not a distinguished name.  In my case.... ldapsmothra&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 04:30:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-0-8-0-to-Active-Directory-with-ldaps-on-636/m-p/232784#M82849</guid>
      <dc:creator>NateRutland</dc:creator>
      <dc:date>2018-08-29T04:30:18Z</dc:date>
    </item>
  </channel>
</rss>

