On 3/6/2018 4:27 PM, Emmanuel Lécharny wrote:

Le 07/03/2018 à 00:08, George S. a écrit :
and, just to throw in another point, I've got some other code using the
Novell LDAP API library and it is able to do the query, and I can use
JXplorer to browse the tree.

It's really looking like there's something wrong in the library.
Sorry, I missed the point. Removed the 'if ( cursor.available() )', it
should work.

That doesn't help. I get:

search("DC=somedistrict,DC=k12,DC=local","objectClass");
Exception in thread "main" java.lang.RuntimeException: 
ERR_02002_FAILURE_ON_UNDERLYING_CURSOR Failure on underlying Cursor.
        at 
org.apache.directory.api.ldap.model.cursor.CursorIterator.next(CursorIterator.java:89)
        at com.mhsoftware.ldap.BoundConnection.search(BoundConnection.java:338)





--
George S.
*MH Software, Inc.*
Voice: 303 438 9585
http://www.mhsoftware.com

Reply via email to