You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by AshokBS <as...@altimetrik.com> on 2014/02/25 06:16:09 UTC

How to configure Jackrabbit with LDAP server?

Hi, i am working on Jackrabbit for almost more than 2 weeks and now i have a
requirement to work on LDAP stuff. i.e  i want to integrate Jackrabbit with
LDAP server, how to do this? Pls provide me the steps or sample project if
existing? I need this bit urgent. Kindly help me with this, since i could
not locate any doc or steps about this integration.

My environment: I have launched Jackrabbit as a standalone jar (version :
java -jar jackrabbit-standalone-2.6.5.jar) and logged in with default creds:
username: admin and password: admin.

My requirement as said above is that, i should be able to login via LDAP
authentication for the repository which i will create and add some contents
into it. 



--
View this message in context: http://jackrabbit.510166.n4.nabble.com/How-to-configure-Jackrabbit-with-LDAP-server-tp4660357.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Re: How to configure Jackrabbit with LDAP server?

Posted by AshokBS <as...@altimetrik.com>.
 I have gone through some of the links and couldn't find much wrt
integration.

I have tried the below steps in repository.xml since they said it was
working in 1.4.5 version.
The link is: 
http://jackrabbit.510166.n4.nabble.com/jira-Created-JCR-1920-Upgrade-from-1-4-5-to-1-5-creates-exception-for-LDAP-authentication-tc542196.html

 <LoginModule class="com.sun.security.auth.module.LdapLoginModule">
           
           
           
           
 </LoginModule> 

I have specified my ldap configuration details above. Is the above param
settings sufficient?

Also when i try to login to http://localhost:8080/repository/default/ with
the above settings, it prompts me for username and password. But when i pass
my username and pwd details, the below message is logged in the
jackrabbit.log file.

LdapLoginModule] searching for entry belonging to user: xyz
LdapLoginModule] authentication failed
LdapLoginModule] aborted authentication


My question is, whether the above repository.xml file settings are enough
for LDAP configuration? Am i missing somethings in addition to the above?
Pls suggest 



--
View this message in context: http://jackrabbit.510166.n4.nabble.com/How-to-configure-Jackrabbit-with-LDAP-server-tp4660357p4660364.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.