FWIW, in V4 you MUST use ldaps:// URLs for TLS connections and useSSL does nothing anymore (it's driven by the URL alone), and you'd certainly be using ldaps:// URLs in any version, I have no idea why any example would imply otherwise. I don’t know what the "naming exception" error means. -- Scott