Hi Team,
I have configured LDAP with the below mentioned properties and its working fine.
authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap-ad1:ldap-ad
ldap.authentication.active=true
ldap.authentication.userNameFormat=%s@india.in
ldap.synchronization.groupQuery=objectclass\=group
ldap.synchronization.groupDifferentialQuery=(&(objectclass\=group)(!(modifyTimestamp<\={0})))
ldap.synchronization.personQuery=objectclass\=user
ldap.synchronization.personDifferentialQuery=(&(objectclass\=user)(!(modifyTimestamp<\={0})))
ldap.synchronization.groupSearchBase=ou\=INDIA Users,dc\=INDIA,dc\=IN
ldap.synchronization.userSearchBase=ou\=INDIA Users,dc\=INDIA,dc\=IN
Now, i want to synchronize user whose OU is UK, USA etc. along with existing OU user.
Does it possible to sync user from different OU? if yes, what are the changes required?
Thanks,
Hardik
You can configure two different properties file: one properties file for each OU:
https://docs.alfresco.com/5.2/tasks/auth-example-twoldap-ad.html
Another way could be complex LDAP queries in a unique properties file but it could be very tricky to do, it strongly depends on your LDAP tree structure and object types.
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.