After doing more tinkering overnight I have discovered that it appears that the 
error is only showing up for users who DO NOT have a mail entry in our 
directory.  Users WITH mail entries are logged in without incident.  Any 
account I try that does NOT have a mail entry does not get logged in and gets 
the error listed below.  
 
I have set all of the following: 
 
webui.ldap.autoregister = true
ldap.email_field = mail   (mail is what the entry is named in our directory for 
those who have it)
ldap.netid_email_domain = @ourdomain.edu
 
Any thoughts?

>>> helix84 <[email protected]> 8/21/2012 3:16 PM >>>
On Tue, Aug 21, 2012 at 9:16 PM, Joseph Thomas <[email protected]> wrote:
> 2012-08-21 13:59:58,723 INFO  org.dspace.app.webui.servlet.LDAPServlet @
> anonymous:session_id=8576C39FA34E6905D2D00F332D94DB37:ip_addr=MYIPADDR:failed_login:netid=HiddenUserName,
> result=5

This gets printed here:

https://github.com/DSpace/DSpace/blob/master/dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/servlet/LDAPServlet.java#L103

Value of result:

    /** User or password is not appropriate for this method. */
    public static final int BAD_ARGS = 5;

Are you sure the full DN gets constructed correctly?

Regards,
~~helix84

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to