Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-5762

unable to a create user with more that 20 characters in Microsoft Active Directory'

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 4.2.2
    • Directories
    • None

      Issue Summary

      Unable to a create a user with more that 20 characters in Microsoft Active Directory'

      Steps to Reproduce

      1. Connect an AD as a connector with Crowd
      2. Try to create a user that has more then 20 characters

      Expected Results

      If username mapping as UPN or CN, the user should be created in AD

      Actual Results

      The below exception is thrown in the xxxxxxx.log file:

      om.atlassian.crowd.exception.InvalidUserException: Uncategorized exception occured during LDAP processing; nested exception is javax.naming.NamingException: [LDAP: error code 80 - 00000523: SysErr: DSID-031A124A, problem 22 (Invalid argument), data 0
      

      Crowd tries to set Samaccountname even if it is not set as username attribute

      Workaround

      Create username less then 20 Characters

            [CWD-5762] unable to a create user with more that 20 characters in Microsoft Active Directory'

            SET Analytics Bot made changes -
            UIS Original: 1 New: 2
            SET Analytics Bot made changes -
            UIS Original: 2 New: 1
            SET Analytics Bot made changes -
            UIS Original: 1 New: 2
            SET Analytics Bot made changes -
            UIS Original: 2 New: 1
            SET Analytics Bot made changes -
            UIS Original: 1 New: 2
            SET Analytics Bot made changes -
            UIS Original: 2 New: 1
            SET Analytics Bot made changes -
            UIS Original: 3 New: 2
            SET Analytics Bot made changes -
            UIS Original: 2 New: 3
            SET Analytics Bot made changes -
            UIS Original: 1 New: 2
            SET Analytics Bot made changes -
            UIS Original: 2 New: 1

              Unassigned Unassigned
              akotha@atlassian.com Ashish Kotha
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: