Interesting. I have both LDAP and password auth enabled, but password
is only for a couple of admins and all the duplicates are in users
registered via LDAP.

So I suspect the problem is not in any particular auth plugin, but
probably in some common registration code.

Though as far as I can see, the code to create EPerson only calls auth
method-specific code:

https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/authenticate/AuthenticationManager.java#L269

I guess there is either a race condition when checking whether a user
already exists or this happens when users submit the
login/registration form multiple times.

One suspect thing that could cause one of these conditions is the context cache:

https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/eperson/EPerson.java#L199


Regards,
~~helix84

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

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to