Support useStartTLS by the test in-memory directory server ?

Tom Zeller tzeller at dragonacea.biz
Tue Nov 11 18:08:16 EST 2014


Hey Daniel,

Do you know how to turn on STARTTLS support in the UnboundID in-memory
directory server used in tests ?

We turned on useStartTLS in ldap.properties, and it would be nice if
the testbed and integration tests still worked.

I tried unsuccessfully.

[DEBUG] : org.ldaptive.provider.jndi.NamingExceptionUtils :
org.ldaptive.provider.jndi.NamingExceptionUtils:358 naming exception
class javax.naming.OperationNotSupportedException is ambiguous, maps
to multiple result codes: [UNAVAILABLE_CRITICAL_EXTENSION,
UNWILLING_TO_PERFORM]

[DEBUG] : org.ldaptive.provider.AbstractProviderConnectionFactory :
org.ldaptive.provider.jndi.JndiStartTLSConnectionFactory:105 Error
connecting to LDAP URL: ldap://localhost:10389
org.ldaptive.provider.ConnectionException:
javax.naming.OperationNotSupportedException: [LDAP: error code 53 - No
extended operation handler is defined for extended request OID
'1.3.6.1.4.1.1466.20037'.]; remaining name ''
at org.ldaptive.provider.jndi.JndiStartTLSConnectionFactory.createInternal(JndiStartTLSConnectionFactory.java:95)
~[ldaptive-1.0.5.jar:na]


More information about the dev mailing list