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

LDAP Authentication fails using docker login

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Automatically Closed
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: Docker, LDAP
    • Labels:
      None

      Description

      After integrating with AD/LDAP and creating a generic role for read access to a hosted docker repository(s). The role is assigned to an active AD User. Docker logins for this user fail with the following.

      ```
      Error response from daemon: no successful auth challenge for https://registry.dev.example.local/v2/ - errors: [basic auth attempt to https://registry.dev.example.local/v2/ realm "Sonatype Nexus" failed with status: 401 Unauthorized]
      ```

      The same user can login to the Nexus UI fine.

      Creating a local test user account and assigning the role works fine for docker login.
      Tested with Docker v1.10 and v1.7

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            roche Damien Roche
            Last Updated By:
            Rich Seddon Rich Seddon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title