From http://tools.lsc-project.org/issues/721
I noticed that using a pluginDestinationService that execute against an executableLdapDestinationServiceSettings, it is not possible to make use of "ldap" binding
The ScriptableJndiServices is not istantiated. The pluginDestinationService is istantiated as org.lsc.plugins.connectors.executable.ExecutableLdapDestinationService that does not inherit from AbstractSimpleJndiService
For this reason the check
&& task.getDestinationService() instanceof AbstractSimpleJndiService
inside JScriptEvaluator.java fails.
In my opinion it would be great being able to query the destination even with this plugin.