Jon Roberts wrote:
I am using the Netscape Java SDK v4.1 for applications that interact with an OpenLDAP v2.1.12 server. When I attempt to create a connection pool with a standard configuration, I get an LDAP protocol error (2), but if I configure OpenLDAP to accept LDAP v2 bindings, it works fine. Why might this be happening? Is it possible to create connection pools with LDAP v3?It should be. Almost no one uses LDAPv2 anymore. Don't use it.
It may be that the default LDAP version for connection pooling is v2. See if you can find a configuration parameter. Even if it says the default is v3, make sure you explicitly set it to use v3, just to make sure.
Also, check the logs for openldap and turn up the log level if you have to.
I didn't see anything in the release notes, but if this is something I can fix by downloading and building the latest version of the SDK, I'll gladly do it.
Jon Roberts
www.mentata.com
