Hi,

I am trying to understand how to configure LDAP to properly
autoregister.

When I try to connect with an LDAP account, the e-person is created but
the profile is empty (no name, no proepr email, etc.).

I had a look at the log of my LDAP server and all I can see is the
following:

Jan 15 13:51:23 ldap slapd[1512]: conn=26951150 fd=130 ACCEPT from 
IP=192.41.170.14:56585 (IP=192.41.170.6:636)
Jan 15 13:51:23 ldap slapd[1512]: conn=26951150 fd=130 TLS established 
tls_ssf=256 ssf=256
Jan 15 13:51:23 ldap slapd[1512]: conn=26951150 op=0 BIND 
dn="uid=on,ou=People,ou=csim,dc=cs,dc=ait,dc=ac,dc=th" method=128
Jan 15 13:51:23 ldap slapd[1512]: conn=26951150 op=0 BIND 
dn="uid=on,ou=People,ou=csim,dc=cs,dc=ait,dc=ac,dc=th" mech=SIMPLE ssf=0
Jan 15 13:51:23 ldap slapd[1512]: conn=26951150 op=0 RESULT tag=97 err=0 text=
Jan 15 13:51:23 ldap slapd[1512]: conn=26951150 op=1 UNBIND
Jan 15 13:51:23 ldap slapd[1512]: conn=26951150 fd=130 closed

Showing that DSpace bind/connect to LDAP, to authenticate, but it does
not try to get any other data like name, email, etc. There is no SRCH
request (search for the values of some attributes in LDAP).

So I am wondering what I did wrong? My authentication-ldap.cfg file is:

enable = true
autoregister = true
provider_url = ldaps://ldap.cs.ait.ac.th/
id_field = uid
object_context = ou=People,ou=csim,dc=cs,dc=ait,dc=ac,dc=th
# search_context = ou=People
email_field = mail
surname_field = sn
givenname_field = givenName
phone_field = telephoneNumber
#login.specialgroup = CSIM_LDAP
search_scope = 2
#search.anonymous = false
#search.user = cn=admin,ou=people,o=myu.edu
#search.password = password
#netid_email_domain = @example.com
#login.groupmap.1 = ou=ldap-dept1:dspace-group1
login.groupmap.attribute = csimAccountPermission
login.groupmap.1 = dspace:CSIM_LDAP
login.groupmap.2 = dspaceadmin:Administrator

I have tried several values for search_context, with no result.
I have no hierarcgical LDAP, all userss are in the same branch.

What am I missing? Help welcome a lot.

Best regards,

Olivier
-- 

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to