Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-1180

LDAP: if no adminUser is set, build the DN using the object_context

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      5

      Description

      Before attempting a user authentication, LDAPHierarchicalAuthentication attempts to lookup the user's DN using an adminUser and adminPassword. This is unnecessary if all users from an institution are in the same LDAP container, e.g.,:

      uid=sam,ou=Users,dc=example,dc=edu

      The necessary variables for building the DN manually are already in authentication-ldap.cfg. This patch attempts to build the DN manually if the adminUser is empty.

        Attachments

          Activity

            People

            • Assignee:
              helix84 Ivan Masár
              Reporter:
              ottenhoffs Samuel Ottenhoff
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: