cancel
Showing results for 
Search instead for 
Did you mean: 

ldap error when sync.

marcio
Champ in-the-making
Champ in-the-making
Hello. When I start Alfresco service ( 5.0 CE ) I got this error in catalina.out:

2016-02-24 09:44:42,119  INFO  [security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Retrieving users changed since Feb 24, 2016 7:59:30 AM from user registry 'ldap1'
2016-02-24 09:44:42,872  ERROR [security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization aborted due to error
org.alfresco.error.AlfrescoRuntimeException: 01240001 Error during LDAP Search. Reason:[LDAP: error code 11 - Administrative Limit Exceeded]

-My ldap/free-ipa have the limit query configured in 2000 queries.

I tested with:
ldap.synchronization.attributeBatchSize=5000
ldap.synchronization.queryBatchSize=5000

and using too:
ldap.synchronization.attributeBatchSize=0
ldap.synchronization.queryBatchSize=0

Using both options I have the same error. Any idea about this error ?
Thank you

**
Resolution: Changed the ldap group filter, decreasing the number of groups/users.
**
3 REPLIES 3

romschn
Star Collaborator
Star Collaborator
To me, it looks more of an LDAP directory issue which is not allowing to query more records than what are allowed on it. Earlier I read somewhere that you may need to increase that attribute value on your directory server. If I am not wrong, the attribute name is nsslapd-sizelimit. I have never tried it though. Kindly check and see if it works.

Hope this helps.

mrogers
Star Contributor
Star Contributor
Why are you querying for 5000 entries when your limit is 2000? 

marcio
Champ in-the-making
Champ in-the-making
The value 5000 is for tests only.  I used the value 0 for months without any problem.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.