Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-4887

Ldap Integration for ActiveDirectory (principal argument cannot be null)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.8.2, 0.9.0
    • None
    • conf, zeppelin-server
    • None
    • Active Directory and Zeppelin 0.8.2 (also tested with 0.9Preview)

    Description

      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--

      Attachments

        1. shiro-exa.ini
          4 kB
          Marcel

        Activity

          People

            Unassigned Unassigned
            wernermarcel Marcel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: