cancel
Showing results for 
Search instead for 
Did you mean: 

Missing ldap subsystem in community 5.1.e

mfriedel
Champ in-the-making
Champ in-the-making
I am not able to find the ldap subsystem as described in

http://docs.alfresco.com/community/tasks/auth-subsystem-chain-config.html

My Authentication directory does not contain a ldap directory


# ls -l tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/

drwxr-xr-x 2 root root 65 25. Feb 23:24 alfrescoNtlm
drwxr-xr-x 2 root root 40 25. Feb 23:24 external
drwxr-xr-x 2 root root 73 25. Feb 23:24 kerberos
drwxr-xr-x 2 root root 65 25. Feb 23:24 passthru


Is this something I have to install separately ?

2 REPLIES 2

mrogers
Star Contributor
Star Contributor
I've just fed back to our docs team that that help page needs some rework.  Sorry.

No you don't need to install anything separately.

You shouldn't need to worry about those files unless you are doing something complicated like multiple ldap authenticators.

What are you trying to do?  

If you are doing something complicated then you add your configuration to the shared folder, you don't touch anything in the webapps folder.

mfriedel
Champ in-the-making
Champ in-the-making
Thank you.
I am not trying to set up anything complicated. Just a single ldap instance.
As per documentation I wanted to copy the  files from the webapps folder as a template to the shared folders. But they where not in the distribution. I ended up retrieving them from the github. Worked just fine. I suggest the fix is not to change the documentation, but to add the files back to the community package.

Here is what I did in detail
1. Got the following files form gitbub
<blockcode>webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/common-ldap-context.xml
webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap/ldap-authentication-context.xml
webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap/ldap-authentication.properties</blockcode>

2. Then I just followed the documentation to setup a single ldap instance by creating the following file

<blockcode>shared/classes/alfresco/extension/subsystems/Authentication/ldap/myldap/ldap-authentication.properties</blockcode>

and specifying the autorization chain in the /shared/classes/alfresco-global.properties file

<blockcode>
## Auth
authentication.chain=alfinst:alfrescoNtlm,myldap:ldap
ntlm.authentication.sso.enabled=false
</blockcode>