11-25-2014 04:51 AM
12-12-2014 06:02 AM
01-29-2017 12:54 PM
You could try to do the following. AFAIK, you should to create the following directory structure
(all authentication subsystem types have the category Authentication. For example, the configuration for a particular subsystem instance of category A, type B, and name C should be under the path /shared/classes/alfresco/extension/subsystems/A/B/C😞
tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/
Now copy here the ldap-ad-authentication.properties file and specify there:
...
authentication.chain=passthru1:passthru,ldap1:ldap,alfrescoNtlm1:alfrescoNtlm
ldap.authentication.active=false
ldap.authentication.userNameFormat=%s@your_domain_name_without_local_part_here
ldap.authentication.java.naming.provider.url=ldap://your_ldap_server_name_here:389
ldap.synchronization.java.naming.security.principal=domain_administrator_name_here@your_domain_name_without_local_part_here
ldap.synchronization.java.naming.security.credentials=domain_administrator_password_here
# You can browse the LDAP directory by using LdapAdminExe, for example.
ldap.synchronization.groupSearchBase=cn\=Groups,dc\=your_domain_name_without_local_part_here,dc\=local
ldap.synchronization.userSearchBase=cn\=Users,dc\=your_domain_name_without_local_part_here,dc\=local
ntlm.authentication.sso.enabled=true
passthru.authentication.defaultAdministratorUserNames=alfresco_administrator_name_here
passthru.authentication.domain=your_domain_name_without_local_part_here
passthru.authentication.servers=your_domain_name_without_local_part_here\\your_ldap_server_name_here
...
Note, that because the alfresco-global.properties file is loaded last, you can override any of these properties there.
In tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml specify the following(find this element there and modify):
...
<config condition="Remote" evaluator="string-compare">
<remote>
<connector>
<id>connectorId</id>
<name>Alfresco Connector</name>
<description>...</description>
<class>org.alfresco.web.site.servlet.SlingshotAlfrescoConnector</class>
</connector>
<endpoint>
<id>alfresco</id>
<name>...</name>
<description>...</description>
<connector-id>connectorId</connector-id>
<endpoint-url>http://your_server_here:alfresco_port_here/alfresco/wcs</endpoint-url>
<identity>user</identity>
<external-auth>true</external-auth>
</endpoint>
</remote>
</config>
...
Then restart the Alfresco server. In in alfresco.log you will see the output from the synchronization subsystem.
Synchronization subsystem will automatically create users and groups by retrieved them from Active Directory through the LDAP query.
And now you (and all domain users) can log in by using SSO. Also you can disable SSO and log in by using the ID and password of any of the Active Directory users.
For more information see: Professional Alfresco: Practical Solutions for Enterprise Content Management
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.