AnsweredAssumed Answered

LDAP, non english ou , exception

Question asked by alfhdmb on Oct 25, 2017
Latest reply on Oct 26, 2017 by alfhdmb

How to configure ldap searchBase for tree with non english characters at OU= ? Can't change that names in system.

Tried:

1) save file with utf-8   and setting catalina.bat CATALINA_OPTS = -Dfile.encoding=UTF-8 . JAVA_OPTS = -Dfile.encoding=UTF-8

2)changed collation of db using droping and restoring.

3) tried percent encoding like: OU=%AB%21%32

4) tried native win encoding cp1251

ldap.synchronization.groupSearchBase=ou=УЗЕЛ,dc=some,dc=corp

 

Have log:

 

2017-10-25 19:02:49,673 ERROR [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization aborted due to error
org.alfresco.error.AlfrescoRuntimeException: 09250019 Error during LDAP Search. Reason:[LDAP: error code 32 - 0000208D: NameErr: DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of:
'DC=some,DC=corp'
]
at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry.processQuery(LDAPUserRegistry.java:1326)
at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry.getGroups(LDAPUserRegistry.java:711)
at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer.syncWithPlugin(ChainingUserRegistrySynchronizer.java:996)
at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer.synchronizeInternal(ChainingUserRegistrySynchronizer.java:742)

 

Any ideas?

Outcomes