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

allow setting java.naming.referral for LDAP connections

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.11.4
    • Fix Version/s: 3.0.0, 2.12.1
    • Component/s: LDAP
    • Environment:
      Ubuntu Linux 14.04
      Active Directory
    • Story Points:
      1
    • Release Note:
      Yes
    • Sprint:
      Sprint 62 - Föhn

      Description

      Nexus 2.11.4-01

      We're trying to force the referral setting of LDAP to 'ignore' for all connections instead of the default 'follow'.

      According to NEXUS-5870 we should be able to inject additional properties into the LDAP connection context by setting nexus.ldap.env.<property name>

      That works - except for referral. In
      org.sonatype.security.ldap.realms.DefaultLdapContextFactory.getSetupEnvrironment()

      You can see the additional properties are added just fine and then the referral setting is overwritten.

      Is there a way of setting this in the LDAP configuration?

      Thanks

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                plynch Peter Lynch
                Reporter:
                brett.dellegrazie Brett Delle Grazie
                Last Updated By:
                Brian Fox
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: