AnsweredAssumed Answered

Import LDAP users from a particular group failed

Question asked by soriaedu79 on Aug 12, 2010
Latest reply on Aug 16, 2010 by soriaedu79
Hi,

I have configured Alfresco sync with LDAP and it works fine. My alfresco-global.properties is:

ldap.synchronization.groupSearchBase=OU=Groups,DC=mydomain,DC=net
ldap.synchronization.userSearchBase=OU=Users,DC=mydomain,DC=net

ldap.synchronization.groupQuery=(objectclass\=posixGroup)
ldap.synchronization.groupDifferentialQuery=(&(objectclass\=posixGroup)(!(modifyTimestamp<\={0})))
ldap.synchronization.personQuery=(objectclass\=inetOrgPerson)
ldap.synchronization.personDifferentialQuery=(&(objectclass\=inetOrgPerson)(!(modifyTimestamp<\={0})))

Now I want to import only the users from a particular group (let's say 'workers') but I can't. Reading wiki info and other posts I have tried the following options without any result:


1- ldap.synchronization.personQuery=(&(objectclass\=inetOrgPerson)(memberOf\=CN\=workers,DC\=mydomain,DC\=net)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))
2- ldap.synchronization.personQuery=(&(objectclass\=inetOrgPerson)(memberOf\=CN\=workers,OU\=Groups, DC\=mydomain,DC\=net)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))
3- ldap.synchronization.personQuery=(&(objectclass\=inetOrgPerson)(memberOf\=CN\=workers,OU\=Groups, DC\=mydomain,DC\=net))
4- ldap.synchronization.personQuery=(&(objectclass\=inetOrgPerson)(memberOf\=CN\=workers,DC\=mydomain,DC\=net))

Everytime that the sync with deletions (via crontab) is executed, 0 users are read.

Any clue?

Thank you in advance.

Outcomes