cancel
Showing results for 
Search instead for 
Did you mean: 

missing ldap-authentication.properties and AD synchronisation

boiss007
Champ on-the-rise
Champ on-the-rise
Hello, everybody, i need some clarification/help
I'm in the process to configure a Alfresco.5.0.c Community Edition and i need to import/synch a few OU and security groups from 3 differents Active Directory Server. So I want to configure the AD access with the Authentication Subsytem.
I've read the doc (<a href="http://docs.alfresco.com/community/concepts/auth-ldap-intro.html">Configuring LDAP</a>) but i cant find the ldap-authentication.properties files - in fact I can't fint
<configRootShare>/classes/alfresco/extension/Authentication/ldap
(from <a href ="http://docs.alfresco.com/community/tasks/auth-subsystem-chain-config.html">Configuring the authentication chain</a> or
<configRoot>/classes/alfresco/subsystems/Authentication/ldap-ad/
from <a href="http://docs.alfresco.com/community/tasks/auth-example-twoldap-ad.html">Example: authentication and synchronization with two ldap-ad subsystems</a>
I've done something similar on Alfresco 4.2 but the 5.0 version doesn't have the ldap-authentication.properties…
I've been reading the forum, and the jira reports and no one seems to know why the doc is wrong or why those files suddenly disappeared. I know i can edit my
<classpathRoot>/alfresco-global.properties
file to configure ldap-ad, but i prefer to keep this part of the configuration separate and i don't understand why the files i need are gone.
2 REPLIES 2

douglascrp
World-Class Innovator
World-Class Innovator
Alfresco 5.0 was changed to be built using maven, and because of that, there is no more properties files into folders.
Everything now is shipped inside jars.

You can get those files by looking at the source code into the github project here https://github.com/Alfresco/community-edition

Those files you are looking for are
https://github.com/Alfresco/community-edition/tree/master/projects/repository/config/alfresco/subsys...
and
https://github.com/Alfresco/community-edition/tree/master/projects/repository/config/alfresco/subsys...

boiss007
Champ on-the-rise
Champ on-the-rise
Thanks, I had arrived to this conclusion, and found the missing files i needed - after a few hours and many curses-. If I may, the doc still point to the "old ways", and even if it is only the community doc, we depend on it when we work on Alfresco. I'm pretty sure the building change wasn't a sudden choice, it would be nice to have an up-to-date documentation on such a great but complex piece of software….