LDAP users with no mail field can't autoregister
------------------------------------------------

                 Key: DS-586
                 URL: http://jira.dspace.org/jira/browse/DS-586
             Project: DSpace 1.x
          Issue Type: Bug
          Components: DSpace API
    Affects Versions: 1.6.0
         Environment: any
            Reporter: Pere Villega
         Attachments: ldap.patch

In LDAP Hierarchical Authentication, if a user has no "ldapMail" field defined 
and has not logged in before, a boolean condition in the code makes impossible 
for the user to autoregister, even if the configuration options allows 
autoregistration. 

I attach a proposed patch for the issue for file 
dspace/dspace-api/src/main/java/org/dspace/authenticate/LDAPHierarchicalAuthentication.java

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------

_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to