LDAP NoSuchElementException when setting rootfolder

1
I'm setting up the LDAP module. Why does the following rootfolder gives an error (see stacktrace underneath)? Rootfolder: DC=DOMAINNAME,DC=local and why does the following rootfolder work? OU=FCI,DC=DOMAINNAME,DC=local FCI is a container in the root. But there are several containers with users in it. I want to import users from those several container. What am I doing wrong. lh: java.util.NoSuchElementException: Attribute member has no value at Ldap.ReadLdapFlow (JavaAction : 'Call 'readLdap'') Advanced stacktrace: at mA.a(SourceFile:188) Caused by: com.mendix.core.CoreException: java.util.NoSuchElementException: Attribute member has no value at hk.b(SourceFile:170) Caused by: java.util.NoSuchElementException: Attribute member has no value at javax.naming.directory.BasicAttribute.get(BasicAttribute.java:281) at com.mendix.ldap.FullDirectoryAttributesMapper.mapFromAttributes(FullDirectoryAttributesMapper.java:25) at org.springframework.ldap.core.AttributesMapperCallbackHandler.getObjectFromNameClassPair(AttributesMapperCallbackHandler.java:61) at org.springframework.ldap.core.CollectingNameClassPairCallbackHandler.handleNameClassPair(CollectingNameClassPairCallbackHandler.java:50) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:276) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:234) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:548) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:532) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:383) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:406) at com.mendix.ldap.LdapModule.readChildren(LdapModule.java:310) at com.mendix.ldap.LdapModule.convertFromDirectory(LdapModule.java:269) at com.mendix.ldap.LdapModule.convertFromDirectory(LdapModule.java:270) at com.mendix.ldap.ReadRootDirectory.readDirectory(ReadRootDirectory.java:50) at com.mendix.ldap.ReadRootDirectory.readRoot(ReadRootDirectory.java:30) at com.mendix.ldap.LdapModule.readLDAP(LdapModule.java:112) at ldap.actions.ReadLdap.executeAction(ReadLdap.java:38) at ldap.actions.ReadLdap.executeAction(ReadLdap.java:20) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:48) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:435) at hk.b(SourceFile:156) at com.mendix.core.Core.execute(SourceFile:212) at lo.a(SourceFile:70) at mA.a(SourceFile:73) at mz.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:48) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:435) at hk.b(SourceFile:156) at com.mendix.core.Core.execute(SourceFile:212) at gd.execute(SourceFile:184) at iI.a(SourceFile:311) at iI.a(SourceFile:240) at iI.processRequest(SourceFile:179) at iL.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:856) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:43) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:662)
asked
1 answers
2

It seems that the thing you are trying to read has an attribute named 'member' without a value. Possible because you lack the rights to read it.

You can either check more indept what this 'member' attribute is and check how you can gain more access (or maybe it is really empty in the LDAP), or file a feature request to skip such attributes.

answered