cancel
Showing results for 
Search instead for 
Did you mean: 

Import LDAP users from a particular group failed

soriaedu79
Champ in-the-making
Champ in-the-making
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.
1 REPLY 1

soriaedu79
Champ in-the-making
Champ in-the-making
please, any idea?