Hi Frank,
Recently I faced the same problem and David Sanders helped me out via this forum. I had to use the actual location in AD where user objects were located: ou=users,ou=xxx,dc=xxx,dc=vosgroep.dc=nl. Please try changing the Root Directory by adding further details.
After the error, the READLDAP doesn't work properly anymore (before the action 'Sync usergroups' it works fine. After the action 'Sync usergroups', I get the following error:
An error has occurred while handling the request. [User 'MxAdmin' with roles 'Administrator']
com.mendix.core.CoreException: Exception occurred in action 'Microflow [Ldap.ReadLdapFlow]', all database changes executed by this action were rolled back
at com.mendix.core.actionmanagement.CoreAction.d(SourceFile:553)
Caused by: com.mendix.core.CoreException: Exception occurred in microflow 'Ldap.ReadLdapFlow' for activity 'Call 'readLdap'', all database changes executed by this microflow were rolled back
at kM.b(SourceFile:252)
Caused by: com.mendix.core.CoreException: java.lang.NullPointerException
at it.b(SourceFile:167)
Caused by: java.lang.NullPointerException
at com.mendix.ldap.ImportGroups.importGroups(ImportGroups.java:65)
at com.mendix.ldap.ReadRootDirectory.readRoot(ReadRootDirectory.java:34)
at com.mendix.ldap.LdapModule.readLDAP(LdapModule.java:111)
at ldap.actions.ReadLdap.executeAction(ReadLdap.java:38)
at ldap.actions.ReadLdap.executeAction(ReadLdap.java:20)
at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:49)
at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:473)
at it.b(SourceFile:155)
at com.mendix.core.Core.execute(SourceFile:191)
at hi.a(SourceFile:70)
at kM.a(SourceFile:67)
at eR.executeAction(SourceFile:96)
at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:49)
at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:473)
at it.b(SourceFile:155)
at com.mendix.core.Core.execute(SourceFile:191)
at dA.execute(SourceFile:183)
at ju.a(SourceFile:299)
at ju.a(SourceFile:230)
at ju.processRequest(SourceFile:174)
at fF.a(SourceFile:71)
at com.mendix.core.MxRuntime.processRequest(SourceFile:924)
at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:42)
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:203)
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:619)