ldap同步用户信息报错.

cuba版本:7.1.1
ldap 版本:1.4.0
调用service:
ldap_UserSynchronizationSchedulerService.synchronizeUsersFromLdap()
报错信息:
CommonErrorNode [<mismatched token: [@22,59:65=‘cuGroup’,<61>,1:59], resync=select cu.login from sec$User cu inner join fetch cu.group cuGroup where upper(cuGroup.name) in :groups>]
error.log (11.7 KB)

怀疑是 bug,已提交英文论坛:
https://www.cuba-platform.com/discuss/t/ldap-sync-user-error/10548

能否提供一下 LDAP 的配置?

配置是根据https://github.com/cuba-platform/ldap-addon上的例子填写的.
app.properties
ldap.contextSourceUrl = ldap://XX.XX.XX.XXX:XXX
ldap.contextSourceBase = dc=XXX,dc=XXXX
ldap.contextSourceUserName = XXXX
ldap.contextSourcePassword = XXXXX
ldap.referral = follow
ldap.sessionExpiringPeriodSec = 120
ldap.userSynchronizationBatchSize = 100
ldap.userSynchronizationOnlyActiveProperty = true
ldap.cubaGroupForSynchronization = Company
ldap.cubaGroupForSynchronizationInverse = false
ldap.synchronizeCommonInfoFromLdap = true
cuba.web.standardAuthenticationUsers = admin,anonymous

web-app.properties
cuba.web.standardAuthenticationUsers = admin,anonymous
ldap.expiringSessionNotificationCron = */10 * * * * *
ldap.addonEnabled = true
ldap.expiringSessionsEnable = true
cuba.rest.standardAuthenticationEnabled = false
cuba.rest.ldap.enabled = true
cuba.rest.ldap.urls = ldap://XX.XX.XX.XXX:XXX
cuba.rest.ldap.base = dc=XXX,dc=XXXX
cuba.rest.ldap.user = XXX
cuba.rest.ldap.password = XXXX

确认是 bug。下一版修复了会通知我们。

更新了扩展插件 1.4.1 版本,这个问题应该修复了。麻烦试试看,还有没有问题。