cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with LDAP integration

viniciusrsdutra
Champ in-the-making
Champ in-the-making
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.
1 REPLY 1

mrogers
Star Contributor
Star Contributor
with a single ldap subsystem like yours there is no need to muck around with any subsystems or separate properties files.    Just put your ldap configuration in alfresco-global.properties.

Your actual error is that you are missing a configuration file.  The name of which is clearly shown in the exception message.