I have this properties,
ldap.synchronization.userSearchBase=DC\=main,DC\=fip ldap.synchronization.personQuery=(&(objectClass\=user)(memberOf\=CN\=Пользователи СЭД,OU\=Users,OU\=FIP,DC\=main,DC\=fip)(!(cn\=Guest))(userAccountControl\:1.2.840.113556.1.4.803\:\=512)) ldap.synchronization.personDifferentialQuery=(&(objectclass\=user)(memberOf\=CN\=Пользователи СЭД,OU\=Users,OU\=FIP,DC\=main,DC\=fip)(!(cn\=Guest))
and this AD tree structure
So far i have managed to sync users from AD to alfresco from last folder "Users", but now i need to sync users from both "Users" folder and "Labs". What do i need to change in properies in order to manage that? Thanks in advance.
Solved! Go to Solution.
You have to use OR operator "|" in ldap search string:
ldap.synchronization.userSearchBase=DC\=main,DC\=fip ldap.synchronization.personQuery=(&(objectClass\=user)(|(memberOf\=CN\=Пользователи СЭД,OU\=Users,OU\=FIP,DC\=main,DC\=fip)(memberOf\=CN\=Пользователи СЭД,OU\=Labs,OU\=FIP,DC\=main,DC\=fip))(!(cn\=Guest))(userAccountControl\:1.2.840.113556.1.4.803\:\=512)) ldap.synchronization.personDifferentialQuery=(&(objectclass\=user)(|(memberOf\=CN\=Пользователи СЭД,OU\=Users,OU\=FIP,DC\=main,DC\=fip)(memberOf\=CN\=Пользователи СЭД,OU\=Labs,OU\=FIP,DC\=main,DC\=fip))(!(cn\=Guest))
You have to use OR operator "|" in ldap search string:
ldap.synchronization.userSearchBase=DC\=main,DC\=fip ldap.synchronization.personQuery=(&(objectClass\=user)(|(memberOf\=CN\=Пользователи СЭД,OU\=Users,OU\=FIP,DC\=main,DC\=fip)(memberOf\=CN\=Пользователи СЭД,OU\=Labs,OU\=FIP,DC\=main,DC\=fip))(!(cn\=Guest))(userAccountControl\:1.2.840.113556.1.4.803\:\=512)) ldap.synchronization.personDifferentialQuery=(&(objectclass\=user)(|(memberOf\=CN\=Пользователи СЭД,OU\=Users,OU\=FIP,DC\=main,DC\=fip)(memberOf\=CN\=Пользователи СЭД,OU\=Labs,OU\=FIP,DC\=main,DC\=fip))(!(cn\=Guest))
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.