cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP user/group sync from multiple OUs

dberansky
Champ in-the-making
Champ in-the-making
Hi,

I've read somewhere that it's possible to import user and group data from several OUs, however I cannot find any documentation on how do this.  Any pointers?

Thanks
Dmitry
2 REPLIES 2

ivan_plestina
Champ in-the-making
Champ in-the-making
This LDAP query might be helpful. It is based on our setup for AD sync. It's importing users from specific groups in AD. Group sync is analog to this.


<property name="personQuery">
    <value><![CDATA[(&(objectclass=user)(|(memberOf=CN=Alfresco Contributors,OU=Marketing,DC=domain,DC=local)(memberOf=CN=Alfresco Users,OU=Users,DC=domain,DC=local)(memberOf=CN=Alfresco External,OU=Users,DC=domain,DC=local)))]]></value>
</property>
       
<property name="searchBase">
   <value>dc=domain,dc=local</value>
</property>

Regards,
Ivan

dberansky
Champ in-the-making
Champ in-the-making
thanks, that worked.