Hi, I am using Dspace 3.0 jspui with two authentication mechanism i.e. password 
base and ldap base. My password is working fine but my ldap is throwing me 
warning that "No DN found for user". I checked my dspace log and there is no 
other exception. See my log details below:

*************************************************
2013-01-17 17:03:32,196 INFO  org.dspace.authenticate.PasswordAuthentication @ 
anonymous:session_id=BB57212BD7445A506852117C01FC7F34:ip_addr=myclientip:authenticate:attempting
 password auth of user=myu...@abc.com
2013-01-17 17:03:32,196 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "select * from eperson where email = ? "  with parameters: 
myu...@abc.com
2013-01-17 17:03:32,290 INFO  
org.dspace.authenticate.LDAPHierarchicalAuthentication @ 
anonymous:session_id=BB57212BD7445A506852117C01FC7F34:ip_addr=myclientip:auth:attempting
 trivial auth of user=myu...@abc.com
2013-01-17 17:03:32,290 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "select * from eperson where netid = ? "  with parameters: 
myu...@abc.com
2013-01-17 17:03:32,321 INFO  
org.dspace.authenticate.LDAPHierarchicalAuthentication @ 
anonymous:session_id=BB57212BD7445A506852117C01FC7F34:ip_addr=myclientip:failed_login:no
 DN found for user myu...@abc.com
2013-01-17 17:03:32,321 INFO  org.dspace.app.webui.servlet.PasswordServlet @ 
anonymous:session_id=BB57212BD7445A506852117C01FC7F34:ip_addr=myclientip:failed_login:email=myu...@abc.com,
 result=2
2013-01-17 17:03:32,321 DEBUG org.dspace.app.webui.util.JSPManager @ 
anonymous:session_id=BB57212BD7445A506852117C01FC7F34:ip_addr=myclientip:view_jsp:/login/incorrect.jsp
**********************************************************

my authentication-ldap.cfg details are as follows:

enable = true

##### LDAP AutoRegister Settings #####
autoregister = false
provider_url = ldap://serverip:389/
id_field = cn
object_context = cn=users,DC=abc,DC=com
search_context = cn=users,DC=abc,DC=com
email_field = mail
surname_field = sn
givenname_field = givenName
phone_field = telephoneNumber

#login.specialgroup = group-name
##### Hierarchical LDAP Settings #####

search_scope = 2
# search.anonymous = false
search.user = cn=administrator,cn=users,dc=abc,dc=com
search.password = mypass

#netid_email_domain = @example.com

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to