cancel
Showing results for 
Search instead for 
Did you mean: 

Fetching for LDAP references

freemann_
Star Contributor
Star Contributor

Hi,

When a user try to login to our nuxeo platform in multidirectory with LDAP, they have sometimes http status 401 and in logs we see :

Caused by: org.nuxeo.ecm.directory.DirectoryException: error during reference search for **myGroups**
at org.nuxeo.ecm.directory.ldap.LDAPReference.getSourceIdsForTarget(LDAPReference.java:619)
at org.nuxeo.ecm.directory.multi.MultiReference.lambda$getSourceIdsForTarget$0(MultiReference.java:105)
at org.nuxeo.ecm.directory.multi.MultiReference.doCollect(MultiReference.java:89)
at org.nuxeo.ecm.directory.multi.MultiReference.getSourceIdsForTarget(MultiReference.java:102)
at org.nuxeo.ecm.directory.InverseReference.getTargetIdsForSource(InverseReference.java:153)
at org.nuxeo.ecm.directory.ldap.LDAPSession.ldapResultToDocumentModel(LDAPSession.java:775)
at org.nuxeo.ecm.directory.ldap.LDAPSession.getEntryFromSource(LDAPSession.java:430)
at org.nuxeo.ecm.directory.DirectoryCache.getEntry(DirectoryCache.java:122)
at org.nuxeo.ecm.directory.BaseSession.getEntry(BaseSession.java:337)
at org.nuxeo.ecm.directory.multi.MultiDirectorySession.getEntry(MultiDirectorySession.java:351)
at org.nuxeo.ecm.directory.BaseSession.getEntry(BaseSession.java:325)
at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.getGroupModel(UserManagerImpl.java:1093)
at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.getGroup(UserManagerImpl.java:623)
at org.nuxeo.ecm.platform.computedgroups.UserManagerWithComputedGroups.getGroup(UserManagerWithComputedGroups.java:124)
at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.getGroup(UserManagerImpl.java:619)
at org.nuxeo.ecm.platform.computedgroups.UserManagerWithComputedGroups.getGroup(UserManagerWithComputedGroups.java:112)
at org.nuxeo.ecm.platform.usermanager.io.NuxeoPrincipalJsonWriter.writeExtendedGroups(NuxeoPrincipalJsonWriter.java:148)
at org.nuxeo.ecm.platform.usermanager.io.NuxeoPrincipalJsonWriter.writeEntityBody(NuxeoPrincipalJsonWriter.java:117)
at org.nuxeo.ecm.platform.usermanager.io.NuxeoPrincipalJsonWriter.writeEntityBody(NuxeoPrincipalJsonWriter.java:98)
at org.nuxeo.ecm.core.io.marshallers.json.ExtensibleEntityJsonWriter.write(ExtensibleEntityJsonWriter.java:79)
at org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter.write(AbstractJsonWriter.java:76)

2019-04-03 10:22:16,943 ERROR [https-jsse-nio-0.0.0.0-8443-exec-14] [org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] org.nuxeo.ecm.directory.DirectoryException: error during reference search for **myUser**
org.nuxeo.ecm.directory.DirectoryException: error during reference search for **myUser**
at org.nuxeo.ecm.directory.ldap.LDAPReference.getSourceIdsForTarget(LDAPReference.java:619)
at org.nuxeo.ecm.directory.multi.MultiReference.lambda$getSourceIdsForTarget$0(MultiReference.java:105)
at org.nuxeo.ecm.directory.multi.MultiReference.doCollect(MultiReference.java:89)
at org.nuxeo.ecm.directory.multi.MultiReference.getSourceIdsForTarget(MultiReference.java:102)
at org.nuxeo.ecm.directory.InverseReference.getTargetIdsForSource(InverseReference.java:153)
at org.nuxeo.ecm.directory.ldap.LDAPSession.ldapResultToDocumentModel(LDAPSession.java:775)
at org.nuxeo.ecm.directory.ldap.LDAPSession.getEntryFromSource(LDAPSession.java:430)
at org.nuxeo.ecm.directory.DirectoryCache.getEntry(DirectoryCache.java:122)
at org.nuxeo.ecm.directory.BaseSession.getEntry(BaseSession.java:337)

And I saw on Jira that, this issue was on versions 5, 6 and 7 https://jira.nuxeo.com/browse/NXP-18729

It seems it's back in 9.10 version and 10.10

Thanks for Help

0 REPLIES 0
Getting started

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.