[ 
https://jira.duraspace.org/browse/DS-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20990#action_20990
 ] 

Stuart Lewis commented on DS-827:
---------------------------------

I can confirm that this is a bug, and this patch fixes it.  The same issue 
applies in the normal (non hierarchical) LDAP login.  I will apply the patch 
shortly.

> Autoregister in LDAPHierarchicalAuthentication is incompatible with 
> ldap.netid_email_domain option
> --------------------------------------------------------------------------------------------------
>
>                 Key: DS-827
>                 URL: https://jira.duraspace.org/browse/DS-827
>             Project: DSpace
>          Issue Type: Bug
>          Components: DSpace API
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2, 1.7.0
>            Reporter: Terry Burton
>            Assignee: Stuart Lewis
>         Attachments: LDAPHierarchicalAuthentication.java.patch
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> When the ldap.netid_email_domain option is provided and ldap.email_mail field 
> omitted, LDAPHierarchicalAuthentication autoregister cannot function due to 
> an erroneous check for a null/empty ldap.ldapEmail property.
> Note: This also appears to be the case in LDAPAuthentication.java, however 
> maybe somebody that is running this would like to provide a patch for that.

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

        

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to