我在进行 ldap 搜索时遇到以下异常并想知道这是否是 api 的问题或我需要修复的问题?
16:41:19,290 ERROR [com.synchronoss.readytogo.handler.ZipFileHandler] (Thread-2038 (HornetQ- client-global-threads-24851093)) org.apache.directory.api.ldap.model.exception.LdapInvalidDnException: unexpected token: :: org.apache.directory.api.ldap.model.exception.LdapInvalidDnException: unexpected token: :
at org.apache.directory.api.ldap.model.name.ComplexDnParser.parseDn(ComplexDnParser.java:58) [api-ldap-client-all-1.0.0-M16.jar:1.0.0-M16]
at org.apache.directory.api.ldap.model.name.Dn.parseInternal(Dn.java:1374) [api-ldap-client-all-1.0.0-M16.jar:1.0.0-M16]
at org.apache.directory.api.ldap.model.name.Dn.<init>(Dn.java:285) [api-ldap-client-all-1.0.0-M16.jar:1.0.0-M16]
at org.apache.directory.api.ldap.model.name.Dn.<init>(Dn.java:211) [api-ldap-client-all-1.0.0-M16.jar:1.0.0-M16]
at org.apache.directory.ldap.client.api.LdapNetworkConnection.search(LdapNetworkConnection.java:1506) [api-ldap-client-all-1.0.0-M16.jar:1.0.0-M16]
我的 DN 值"cn=device:abc:abc xyz x+:abc/cing/evitareul:4.2.2/jdq39/257669.4:user/release-keys,ou=Permissions,dc=r2g,dc=dcs,dc=zzz,dc=com"
包含一个加号,我认为这是导致问题的原因,任何帮助建议将不胜感激。