Marcel created ZEPPELIN-4887:
--------------------------------

             Summary: Ldap Integration for ActiveDirectory (principal argument 
cannot be null)
                 Key: ZEPPELIN-4887
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4887
             Project: Zeppelin
          Issue Type: Bug
          Components: conf, zeppelin-server
    Affects Versions: 0.8.2, 0.9.0
         Environment: Active Directory and Zeppelin 0.8.2 (also tested with 
0.9Preview)
            Reporter: Marcel
         Attachments: shiro-exa.ini

We are currently configuring Zeppelin against an ActiveDirectory. According to 
the documentation we have created the following Shiro.ini configurations. The 
login and the assignment of roles works. However, we receive an error message 
every time you login. We have the problem that our ActiveDirectory users are 
not all in one OU as is the case with most LDAP implementations. Therefore we 
cannot use DN templates, e.g. for group membership.

---Snip---
DEBUG [2020-06-16 14:50:29,582] (\{qtp1547425104-12} 
DefaultLdapRealm.java[queryForAuthenticationInfo]:369) - Authenticating user 
'null' through LDAP
DEBUG [2020-06-16 14:50:29,582] (\{qtp1547425104-12} 
JndiLdapContextFactory.java[getLdapContext]:488) - Initializing LDAP context 
using URL [ldap://XXX.XXX.XXX.XXX  and principal [null] with pooling disabled
DEBUG [2020-06-16 14:50:29,584] (\{qtp1547425104-12} 
WebAppClassLoader.java[getResources]:406) - getResources jndi.properties []
---Snip---
---Snip---

 WARN [2020-06-16 14:24:06,459] (\{qtp1547425104-13} 
AbstractAuthenticator.java[authenticate]:216) - Authentication failed for token 
submission [org.apache.shiro.authc.UsernamePasswordToken - null, 
rememberMe=false (xxx.xxx.xxx.xxx)].  Possible unexpected error? (Typical or 
expected login exceptions should extend from AuthenticationException). WARN 
[2020-06-16 14:24:06,459] (\{qtp1547425104-13} 
AbstractAuthenticator.java[authenticate]:216) - Authentication failed for token 
submission [org.apache.shiro.authc.UsernamePasswordToken - null, 
rememberMe=false (xxx.xxx.xxx.xxx)].  Possible unexpected error? (Typical or 
expected login exceptions should extend from 
AuthenticationException).java.lang.IllegalArgumentException: principal argument 
cannot be null. at 
org.apache.shiro.subject.SimplePrincipalCollection.add(SimplePrincipalCollection.java:104)
---Snip---



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to