In the current studio implementation. Connections classes such as JndiConnectionContext hard code ldap environment variables:
public void connect( String host, int port, boolean useLdaps, boolean useStartTLS, Control connCtls,
ExtendedProgressMonitor monitor ) throws NamingException
Using a jndi.properties file would make the service provider configurable. An advice is to use a preference dialog to enter the right provider.