cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot sync user names from ApacheDS to Alfresco 3.2 Communi

tcharrisjr
Champ in-the-making
Champ in-the-making
When I try to login with a uid stored in the ApacheDS tree, I get the following error while trying to sync.  I have compared the settings in my common.ldap.context file to the tree structure in ApacheDS and the both seem to match up.  Have anyone ever experienced this problem?

javax.faces.FacesException: Error calling action method of component with id loginForm:submit
caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}
caused by:
org.alfresco.error.AlfrescoRuntimeException: 07040009 Failed to import people.
caused by:
javax.naming.OperationNotSupportedException: [LDAP: error code 12 - Unsupport critical control: 1.2.840.113556.1.4.319]; remaining name 'cn=Users,ou=People,dc=example,dc=com'

Thanks.
2 REPLIES 2

dward
Champ on-the-rise
Champ on-the-rise
Your LDAP directory does not support paged results. To stop Alfresco from trying to use them just include this in alfresco-global.properties

ldap.synchronization.queryBatchSize=0

You will have to check whether your LDAP directory has a limit on the total number of results returned by a query to make sure it can cope with returning all users in one go.

tcharrisjr
Champ in-the-making
Champ in-the-making
Thanks!  It now works.  Smiley Tongue