LifeH2O is correct in that it is the email address being populated with
NULL characters added to the username. 

I noticed also  if i delete a test user and re-autoregister the first
name last name phone and so on is not picked up.

In config/modules/authentication-ldap.cfg the email variable is set

email_field = mail   

with "mail: [email protected]"  being the field returned by the
LDAP server. I can see this using the unix command ldapsearch

Also other prior versions of DSpace these fields are picked up okay from
the same LDAP server.



From:   helix84 <[email protected]>
Reply-to:       [email protected]
To:     [email protected]
Cc:     [email protected]
Subject:        Re: [Dspace-tech] DSpace LDAP authentication problem
Date:   07/24/2013 08:44:00 PM


On Wed, Jul 24, 2013 at 3:00 AM, Keir Vaughan-Taylor <[email protected]>
wrote:
> My problem arises in that an undregistered user get authenticated and
> entered into DSpace but their user name is modified to contain the
> letters "NULL" after their user name. How can I prevent this
happening?

I assume you're using autoregister = true.

These are the fields that map LDAP attributes to DSpace ePerson
surname and given name. Please, check that these attributes are
present and have values in your LDAP.

[dspace]/modules/authentication-ldap.cfg:
surname_field = sn
givenname_field = givenName

Please, remember that if you change this, the users who already
autoregistered will not have the existing values updated on login, so
either try this on a new person who never logged in or delete the
dspace user so that he can autoregister again upon next login.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



On Wed, 2013-07-24 at 03:35 -0700, LifeH2O wrote:
> For me null is added to email address (for which I ask user to enter correct
> email address) not the user name. Please recheck.
> 
> 
> 
> --
> View this message in context: 
> http://dspace.2283337.n4.nabble.com/DSpace-LDAP-authentication-problem-tp4665853p4665865.html
> Sent from the DSpace - Tech mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette





-- 


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to