AnsweredAssumed Answered

Problems with LDAP integration

Question asked by viniciusrsdutra on Dec 22, 2014
Latest reply on Dec 22, 2014 by mrogers
Hi Everybody!

I just got the Alfresco 5.0.c and I'm trying to integrate it with an Open LDAP.
After some readings on the forum, tutorials, etc. I realized that the new installation don't have the ldap or ldap-ad in alfresco-5.0.c/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication. So I got the ldap folder from an older installation (4.2.c).
I added to the alfresco-global.properties the line "authentication.chain=ldap-rda:ldap,alfinst:alfrescoNtlm" and created the alfresco-5.0.c/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap-rda folders and edited the ldap-authentication.properties file. But starting the server I always get the following error:

Offending resource: file [/opt/alfresco-5.0.c/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap/ldap-authentication-context.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from URL [file:/opt/alfresco-5.0.c/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap/../common-ldap-context.xml]; nested exception is java.io.FileNotFoundException: /opt/alfresco-5.0.c/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap/../common-ldap-context.xml (No such file or directory)

Can someone help to make it work?! I'm quite confused about the workaround steps.
I attached the ldap-authentication.properties to help.

Thanks in advance.

Outcomes