Linking two Active directories through LDAP to Alfresco share
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2014 04:54 PM
Hi,
I am trying to link two active directories to Alfresco through LDAP.
I have added the following line to alfresco-global.properties
authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap-ad1:ldap-ad,ldap-ad2:ldap-ad
I have made two sub-folders ldap-ad1 and ldap-ad2 in the folder C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\ldap-ad. And placed ldap-ad-authentication.properties file in both these sub-folders. Corresponding configuration for both ADs have been added to these files.
When I add these Active directory setting individually to the alfresco-global.properties, they work and the AD gets synced to Alfresco.
But the chaining doesn't work and only the users from one of the AD are seen. Both the server names, user name and passwords are correct as they work individually.
I have added these lines to the default-synchronization.properties file to sync the AD at regular intervals:
synchronization.synchronizeChangesOnly=false
synchronization.import.cron=0 0/1 * * * ?
Can anyone please advise as what might be wrong?
Thanks !!
I am trying to link two active directories to Alfresco through LDAP.
I have added the following line to alfresco-global.properties
authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap-ad1:ldap-ad,ldap-ad2:ldap-ad
I have made two sub-folders ldap-ad1 and ldap-ad2 in the folder C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\ldap-ad. And placed ldap-ad-authentication.properties file in both these sub-folders. Corresponding configuration for both ADs have been added to these files.
When I add these Active directory setting individually to the alfresco-global.properties, they work and the AD gets synced to Alfresco.
But the chaining doesn't work and only the users from one of the AD are seen. Both the server names, user name and passwords are correct as they work individually.
I have added these lines to the default-synchronization.properties file to sync the AD at regular intervals:
synchronization.synchronizeChangesOnly=false
synchronization.import.cron=0 0/1 * * * ?
Can anyone please advise as what might be wrong?
Thanks !!
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2014 12:12 AM
Hi,
I would recommend first we will look at the alfresco.log.
When you change the information in the second ldap only(no changes in first ldap), does LDAP 2 is getting synced with alfresco?
Once you modify the values in the AD, can you please restart the alfresco synchronization subsystem, to check it out immediately?
http://www.codingfreaks.net/2013/04/alfresco-restart-sub-system-by-using.html
Thanks,
Murali
I would recommend first we will look at the alfresco.log.
When you change the information in the second ldap only(no changes in first ldap), does LDAP 2 is getting synced with alfresco?
Once you modify the values in the AD, can you please restart the alfresco synchronization subsystem, to check it out immediately?
http://www.codingfreaks.net/2013/04/alfresco-restart-sub-system-by-using.html
Thanks,
Murali
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2014 12:53 PM
Hi muralidharand, Thanks for the reply. The folders ldap-ad1 and ldap-ad2 could not be found. Hence the error. Placing the Authentication folder under subsytems folder in /shared/classes/alfresco/extension/ worked.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2014 06:00 AM
Hi Juilee,
In our organisation, we have placed the authentication subsystem files under the alfresco repository's extension as shown in the attachment.
To know more about, Alfresco Repository subsystem and its extension paths, refer the below url.
http://www.codingfreaks.net/2012/12/extend-alfresco-subsystem.html
In our organisation, we have placed the authentication subsystem files under the alfresco repository's extension as shown in the attachment.
To know more about, Alfresco Repository subsystem and its extension paths, refer the below url.
http://www.codingfreaks.net/2012/12/extend-alfresco-subsystem.html
authentication.PNG
18 KB
