I am trying to configure ldap sync in Alfresco 4.2e. I am able to authenticate the users but I am unable to sync the users.
I am using ldapadmin browser to check the tree of the active directory
Here is my model ldap tree
dc: abc.def.com under that I have so many containers and organisational unit. I need the user from container named "User".
Unfortunately this User container has so many users and I am getting size exceeded limit error. Some of the users are inactive
ldap.synchronization.groupQuery=(&(objectClass\=container)(cn\=Users))
ldap.synchronization.groupDifferentialQuery=(&(objectClass\=container)(cn\=Users))
ldap.synchronization.personQuery=(objectClass\=*)
ldap.synchronization.personDifferentialQuery=(objectClass\=*)
ldap.synchronization.groupSearchBase=dc\=abc,dc\=def,dc\=com
ldap.synchronization.userSearchBase=dc\=ter,dc\=teradyne,dc\=com
How to get all the users without getting size exceed limit error.
EDIT :
I found Under container I found few users belong to particular group named Newly Created Users
. The group type is security
and group scope is Local
Best Answer
You need to pull the results in pages or in a virtual list view. Your ldap server must support the extension you use. A quick google search points me at this configuration option in Alfresco for paged querying:
ldap.synchronization.queryBatchSize
Set it to something like 1000.