[RM-32974]: <Maejo> #C3 เชื่อม LDAP

Viewed 0

Problem Summary

From Redmine:

Root Cause Analysis

Enable authentication using LDAP

1 Answers

Solution / Workaround

  1. test LDAP configurations and connection with ldapsearch
  2. uncomment [dspace]/config/local.cfg
plugin.sequence.org.dspace.authenticate.AuthenticationMethod = org.dspace.authenticate.LDAPAuthentication
  1. open and edit file [dspace]/config/modules/authentication-ldap.cfg
authentication-ldap.enable = true
authentication-ldap.autoregister = true
authentication-ldap.provider_url = ldap://10.1.255.11/
authentication-ldap.id_field = sAMAccountName
authentication-ldap.search_context = DC=mju\,DC=local
authentication-ldap.email_field = mail
authentication-ldap.surname_field = sn
authentication-ldap.givenname_field = givenName
authentication-ldap.phone_field = telephoneNumber
authentication-ldap.search_scope = 2
authentication-ldap.search.anonymous = true
authentication-ldap.search.user = 
authentication-ldap.search.password = 
authentication-ldap.netid_email_domain = @mju.ac.th

Verification Steps

Login DSpace using LDAP user account

Related