Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-29054

JIRA using mixed-case username from LDAP

    XMLWordPrintable

Details

    Description

      The original issue is marked as "resolved" (https://jira.atlassian.com/browse/JRA-24558) but the problem still exists. There should be an option for "lower case usernames" in the embedded Crowd in Jira. This is especially needed when migrating from an internal user directory to LDAP where the usernames are the same but LDAP usernames can have capital letters.

      Steps to reproduce

      1. Create a user with username "administrator"
      2. Login with username "administrator" and create a ticket A
      3. Configure a LDAP connector
      4. Inside the LDAP directory, create a username "Administrator"
      5. Make the LDAP directory at the top of the User Directories
      6. Create another ticket B
      7. Issue Navigator can only search for ticket B

      There are also other errors like the user cannot see own issues, dashboard etc.

      This error happens because JIRA is using the column user_name in the table cwd_user for all operations. JIRA should have used the column lower_user_name. For example, the table jiraissue is showing "Administrator" in the column reporter for ticket B.

      Attachments

        1. lower_case_output.png
          4 kB
          Peter Meier

        Issue Links

          Activity

            People

              Unassigned Unassigned
              3b5ddcacb36d Peter Meier
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: