hello guys, please, I need to configure ldap synchronization in alfresco 7 with docker, since the users authenticate to the ldap from alfresco but the groups and users are not synchronized
Take a look at the following documentations thoroughly: https://docs.alfresco.com/content-services/latest/admin/auth-sync/#ldapconfprops
you will need to configure the auth chain and ldap connection properties such as (Example):
-Dauthentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap1:ldap-ad -Dldap.authentication.allowGuestLogin=false -Dldap.authentication.active=false -Dldap.authentication.java.naming.referral=follow -Dldap.authentication.defaultAdministratorUserNames=admin -Dldap.synchronization.java.naming.security.principal="ldapuser" -Dldap.synchronization.java.naming.security.credentials="ldappassword" -Dldap.authentication.java.naming.provider.url="ldap://mycompany-ldap-server:389"
in second steps you will need to configure the sync properties (Example). Adjust the queries per your org need:
-Dldap.synchronization.groupSearchBase="" -Dldap.synchronization.userSearchBase="" -Dldap.synchronization.personQuery="" -Dldap.synchronization.personDifferentialQuery="" -Dldap.synchronization.groupQuery="" -Dldap.synchronization.groupDifferentialQuery=""
in third step, decide how the sync should happen (Example):
-Dsynchronization.synchronizeChangesOnly=false -Dsynchronization.syncOnStartup=true
As I explained, I did the same thing, the users can be authenticated but it does not synchronize any example of a domain... in order to understand more, I am new to alfresco
There is no different config either. If users are not synching, you need to see and fix the queries. That's the most common issue i have observed when the sync queries are setup wrong. Example is given here https://docs.alfresco.com/content-services/latest/admin/auth-sync/#example-authentication-and-synchr... but this varries per organization. I would also suggest you connect with your IT team who manage the LDAP server/IAMs
-Dldap.synchronization.groupSearchBase="" -Dldap.synchronization.userSearchBase="" -Dldap.synchronization.personQuery="" -Dldap.synchronization.personDifferentialQuery="" -Dldap.synchronization.groupQuery="" -Dldap.synchronization.groupDifferentialQuery=""
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.