Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-24408

docker login may not work for same userid found in multiple realms

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.24.0
    • Fix Version/s: 3.30.1
    • Component/s: Docker
    • Notability:
      2

      Description

      Reproduce

      Given Crowd realm is enabled
      and docker login is used to successfully authenticate to NXRM with a Crowd realm user
      If the LDAP realm is enabled and Crowd realm removed
      and if LDAP realm contains the same userid used previously with docker login
      and if LDAP user can use their regular credentials to login to the NXRM UI
      then subsequent docker login commands as that user should also work.

      However this condition is not met. Subsequent docker login commands fail with

      Error response from daemon: login attempt to https://example.com/v2/ failed with status: 401 Unauthorized
      

      Expected

      Provided a user can authenticate to NXRM using any other means, docker login should also consistently work as well.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            plynch Peter Lynch
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title