Hello to all, I want to enable LDAP with my DSpace.
My dns is ldap.example.com Domain Controller is WEBINITO I have created an organisational unit named staffs I have created an user under "staffs" Display Name as Rajshekhar Pandey logon id as rajshekhar password as 123Admin I have changed following setting in my dspace.cfg file ldap.enable = true ldap.provider_url = ldap://webinito.ldap.example.com:389/ ldap.id_field = cn ldap.object_context = ou=staffs,dc=ldap,dc=example,dc=com ldap.search_context = ou=staffs,dc=ldap,dc=example,dc=com ldap.email_field = mail ldap.surname_field = sn ldap.givenname_field =NAME ldap.phone_field = 1234567890 webui.ldap.autoregister = true ldap.login.specialgroup = java plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ org.dspace.authenticate.LDAPHierarchicalAuthentication ldap.search_scope = 2 ldap.search.user = cn=Administrator,ou=Users,o=ldap.example.com ldap.search.password = admin ldap.netid_email_domain = @ldap.example.com when I tried to login with the username as "rajshekhar" and password as "123Admin" it gives me following error in log file 2010-02-22 15:34:24,937 INFO org.dspace.authenticate.LDAPHierarchicalAuthentication @ anonymous:session_id=7CE232A35C70C8EE03AF7148F658F61B:ip_addr=127.0.0.1:auth:attempting trivial auth of user=rajshekhar 2010-02-22 15:34:24,953 WARN org.dspace.authenticate.LDAPHierarchicalAuthentication @ anonymous:session_id=7CE232A35C70C8EE03AF7148F658F61B:ip_addr=127.0.0.1:ldap_authentication:type=failed_auth javax.naming.AuthenticationException\colon; [LDAP\colon; error code 49 - 80090308\colon; LdapErr\colon; DSID-0C090334, comment\colon; AcceptSecurityContext error, data 525, vece ] 2010-02-22 15:34:24,953 INFO org.dspace.authenticate.LDAPHierarchicalAuthentication @ anonymous:session_id=7CE232A35C70C8EE03AF7148F658F61B:ip_addr=127.0.0.1:failed_login:no DN found for user rajshekhar 2010-02-22 15:34:24,953 INFO org.dspace.app.webui.servlet.LDAPServlet @ anonymous:session_id=7CE232A35C70C8EE03AF7148F658F61B:ip_addr=127.0.0.1:failed_login:netid=rajshekhar, result=2 Thanks -- Regards, Rajshekhar Pandey Jr. Software Engineer Webinito Networks. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech