Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-23257

Cannot login to Artifactory 7 UI with (LDAP) username in upper case

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 4 - Normal
    • Resolution: Duplicate
    • Affects Version/s: 7.6.1, 7.7.3
    • Fix Version/s: None
    • Component/s: Artifactory, UI
    • Labels:
      None
    • Severity:
      Medium
    • Regression:
      Yes

      Description

      We have connected Artifactory to an LDAP service, which has usernames in upper and mixed case.

      Logging into Artifactory / JFrog Platform UI fails when given username has upper case letters. User lookup and authentication is performed appropriately according to LDAP server logs, but the user is greeted with a "500 Server Error" from JFrog. No active login session is established.

      Logging into a direct repository URL (/artifactory/repositoryname) with basic authentication using the same upper case username works correctly.

      We have tested versions 7.6.1 and 7.7.3, both behave in exactly the same way.

      The following error messages appear in console.log upon the unsuccessful UI login attempt:

      2020-09-03T06:26:21.798Z [jffe ] [ERROR] [7ab14c2540f65ddb] [ ] [main ] - http request failed with code - BAD_REQUEST
      2020-09-03T06:26:21.798Z [jffe ] [ERROR] [7ab14c2540f65ddb] [ ] [main ] - http request failed with message - Could not find user 'JLEHTONE'
      2020-09-03T06:26:21.799Z [jffe ] [ERROR] [ ] [ ] [main ] - Error: Request failed with status code 400
      at createError (/opt/artifactory-pro-7.6.1/app/frontend/bin/server/dist/node_modules/@jfrog/access-nodejs-client/node_modules/axios/lib/core/createError.js:16:15)
      at settle (/opt/artifactory-pro-7.6.1/app/frontend/bin/server/dist/node_modules/@jfrog/access-nodejs-client/node_modules/axios/lib/core/settle.js:17:12)
      at IncomingMessage.handleStreamEnd (/opt/artifactory-pro-7.6.1/app/frontend/bin/server/dist/node_modules/@jfrog/access-nodejs-client/node_modules/axios/lib/adapters/http.js:237:11)
      at IncomingMessage.emit (events.js:203:15)
      at endReadableNT (_stream_readable.js:1145:12)
      at process._tickCallback (internal/process/next_tick.js:63:19)

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jlehtone Juha Lehtonen
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-23257 -
                SYNCHRONIZED
                • Last Sync Date: