Overriding ldap in 5.0.d
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2015 06:26 PM
I am attempting to override common-ldap-context.xml in 5.0.d. When I look for the common-ldap-context.xml, it does not exist where I think it should be. I had a similar issue with a different override. It seems that if the file is not in the files system, it is coming via dynamic execution and it can't be overridden. Anyone having a similar experience?
A fresh install of 5.0.d has no files in /opt/alfresco-5.0.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication, only these directories: alfrescoNtlm external kerberos passthru
Once again scratching my head.
A fresh install of 5.0.d has no files in /opt/alfresco-5.0.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication, only these directories: alfrescoNtlm external kerberos passthru
Once again scratching my head.
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2015 10:31 AM
Your over-rides will still work. But you need to put them in the correct place * (which will be on the shared class path). Its never been correct to hack any files under WEB-INF.
For reference you will find the config files within the various Jar files.
For reference you will find the config files within the various Jar files.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2015 07:45 PM
My custom-ldap-context.xml is located in /opt/alfresco-5.0.d/tomcat/shared/classes/alfresco/extension/subsystems/Authentication. If you try to create an ldap-ad/ldap1 and put it there Alfresco complains.
My reference was to the fact that the common-ldap-context.xml does not exist in a base install in the location reference previously. Does it exist there in yours? If it does not exist in the file system, then it must be read from a jar. Can you override items read from a jar?
My reference was to the fact that the common-ldap-context.xml does not exist in a base install in the location reference previously. Does it exist there in yours? If it does not exist in the file system, then it must be read from a jar. Can you override items read from a jar?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2015 06:42 AM
The easiest way with alfresco 5 community is to get the missing files from the GITHUB directory, there are many files mentionned in documentation that arent actually present in the alfresco install, but you can get them from the github repertory : <a href="https://github.com/Alfresco/community-edition/tree/master/projects/repository/config/alfresco/subsys...">ici</a>
to get ldap-ad working, you'll need to create the /opt/alfresco-5.0.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap-ad directory and copy there the common-ldap-context.xml because without it, the whole ldap-ad subsystem won't work.
It is a problem with the 5.0 binary distribution, it was addressed in the forum
to get ldap-ad working, you'll need to create the /opt/alfresco-5.0.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap-ad directory and copy there the common-ldap-context.xml because without it, the whole ldap-ad subsystem won't work.
It is a problem with the 5.0 binary distribution, it was addressed in the forum
