Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-27632

Confluence does not support multi valued attributes from LDAP

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 3.5.13
    • None

      Problem

      Confluence does not support multi valued attributes, such as doubled cn, it fails with the following logs:

      2012-12-26 16:47:42,733 INFO [http-8090-4] [crowd.embedded.admin.ConfigurationController] onSubmit Configuration test successful for user directory: [ Delegated LDAP Authentication ], type: [ DELEGATING ]
      2012-12-26 16:47:44,986 INFO [http-8090-4] [crowd.embedded.admin.ConfigurationController] doInTransaction User directory updated: [ Delegated LDAP Authentication ], type: [ DELEGATING ]
      2012-12-26 16:48:31,245 INFO [http-8090-4] [atlassian.crowd.directory.DelegatedAuthenticationDirectory] authenticate User newtestguy could not be found initially, but when cloning the user internally, user exists
      2012-12-26 16:48:31,247 WARN [http-8090-4] [atlassian.seraph.auth.DefaultAuthenticator] login login : 'newtestguy' tried to login but they do not have USE permission or weren't found. Deleting remember me cookie.
      

      And LDIF for failing user:

      version: 1
      
      dn: cn=Test, o=sevenseas,dc=example,dc=com
      objectClass: top
      objectClass: inetOrgPerson
      objectClass: person
      objectClass: organizationalPerson
      cn: Test
      cn: NewTestGuy
      sn: test
      displayName: User test
      givenName: User
      mail: test@user.com
      uid: testuser
      userpassword:: YWRtaW4=
      

      Workaround

      Use a single attribute value, such as uid.

              Unassigned Unassigned
              gcheck GuilhermeA
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: