>> id=CN=GroupA,OU=ad-testing,DC=ad-testing,DC=test,DC=io
>> Reason: javax.script.ScriptException: ReferenceError: "ldap" is not
>> defined in nashorn:mozilla_compat.js at line number 67
>> Feb 01 18:15:21 - ERROR - Error while synchronizing ID {cn=[Bass
>> Players]}: org.lsc.exception.LscServiceException:
>> javax.script.ScriptException: ReferenceError: "ldap" is not defined in
>> nashorn:mozilla_compat.js at line number 67
>
>
> ldap is the LDAP connection object linked to the destination service.
> It should be defined if you use an ldapDestinationService. It can be
> used with scriptable JNDI services:
> https://lsc-project.org/javadoc/2.1-SNAPSHOT/org/lsc/jndi/ScriptableJndiServices.html
I see.
In my case I am using the ExecutableLdifDestinationService, will that
work with your script?

<pluginDestinationService
implementationClass="org.lsc.plugins.connectors.executable.ExecutableLdifDestinationService">
<name>SyncTask-dst</name>
<connection reference="executable" />
<exec:executableLdifDestinationServiceSettings>
<name>SyncGroupTask-service</name>
<connection reference="executable" />
.
.
.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to