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.

Unable to login to Zeppelin UI after configuring LDAP.

Unable to login to Zeppelin UI after configuring LDAP.

Contributor

I did an amabri setup with AD and synced few users. I could see them synced correctly via Ambari. Followed https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_zeppelin-component-guide/content/config-... to configure Zeppelin with this AD. But after this is done I am not able to login to Zeppelin UI even with default admin/admin username/password.

Following error is seen in Zeppelin logs. Any clue what would have gone wrong?

Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C8, comment: AcceptSecurityContext error, data 52e, v2580]

	at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3136)

	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3082)

	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2883)

	at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2797)

	at com.sun.jndi.ldap.LdapCtx.<init>(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.<init>(InitialLdapContext.java:154)

	at org.apache.shiro.realm.ldap.JndiLdapContextFactory.createLdapContext(JndiLdapContextFactory.java:508)

	at org.apache.shiro.realm.ldap.JndiLdapContextFactory.getLdapContext(JndiLdapContextFactory.java:495)

	at org.apache.shiro.realm.ldap.JndiLdapRealm.queryForAuthenticationInfo(JndiLdapRealm.java:375)

	at org.apache.shiro.realm.ldap.JndiLdapRealm.doGetAuthenticationInfo(JndiLdapRealm.java:295)
1 REPLY 1
Highlighted

Re: Unable to login to Zeppelin UI after configuring LDAP.

Hi @dbalasundaran

This error means that systemUsername and systempassword defined in shiro_ini does not match to AD's one.

Follow up this HCC: https://community.hortonworks.com/articles/70392/how-to-configure-zeppelin-for-active-directory-use....l