Mr. Oudot, Thank you for the quick reply!
I've tried the js: and rjs: tags like you've described. The result can be found in the attachment to this mail. I've checked and Java is installed on this machine (Ubuntu 8.20): # java -version java version "1.7.0_95" OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-1~deb8u1) OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode) Also I'd like to mention that the error only seems to happen in the <mainIdentifier>"cn=" + srcBean.getDatasetFirstValueById("cn") + ",ou=lsctest,ou=ESCAUX,dc=ldaptest,dc=escaux,dc=com"</mainIdentifier> tag. Greetings, Siard vB
# /usr/bin/lsc -f /etc/lsc/openldap2ad/ -s all -c all -n Apr 05 12:08:53 - INFO - Logging configuration successfully loaded from /etc/lsc/openldap2ad/logback.xml Apr 05 12:08:53 - INFO - LSC configuration successfully loaded from /etc/lsc/openldap2ad/ Apr 05 12:08:53 - INFO - Connecting to LDAP server ldap://ldaptest.escaux.com:389/dc=escaux,dc=com as cn=Administrator,cn=Users,dc=ldaptest,dc=escaux,dc=com Apr 05 12:08:53 - INFO - Connecting to LDAP server ldap://server.ldap.com:389/dc=ldap,dc=com as cn=admin,dc=ldap,dc=com Apr 05 12:08:53 - INFO - Starting sync for adUser Apr 05 12:08:53 - ERROR - Fail to compute expression: "cn=" + rjs:srcBean.getDatasetFirstValueById("cn") + ",ou=lsctest,ou=ESCAUX,dc=ldaptest,dc=escaux,dc=com" on id=cn=tast tasting,ou=People,dc=ldap,dc=com Reason: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Error while synchronizing ID {uid=ttasting}: org.lsc.exception.LscServiceException: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Fail to compute expression: "cn=" + rjs:srcBean.getDatasetFirstValueById("cn") + ",ou=lsctest,ou=ESCAUX,dc=ldaptest,dc=escaux,dc=com" on id=cn=tist tisting,ou=People,dc=ldap,dc=com Reason: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Fail to compute expression: "cn=" + rjs:srcBean.getDatasetFirstValueById("cn") + ",ou=lsctest,ou=ESCAUX,dc=ldaptest,dc=escaux,dc=com" on id=cn=tust tusting,ou=People,dc=ldap,dc=com Reason: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Fail to compute expression: "cn=" + rjs:srcBean.getDatasetFirstValueById("cn") + ",ou=lsctest,ou=ESCAUX,dc=ldaptest,dc=escaux,dc=com" on id=cn=tost tosting,ou=People,dc=ldap,dc=com Reason: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Error while synchronizing ID {uid=ttisting}: org.lsc.exception.LscServiceException: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Fail to compute expression: "cn=" + rjs:srcBean.getDatasetFirstValueById("cn") + ",ou=lsctest,ou=ESCAUX,dc=ldaptest,dc=escaux,dc=com" on id=cn=test testing,ou=People,dc=ldap,dc=com Reason: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Error while synchronizing ID {uid=ttosting}: org.lsc.exception.LscServiceException: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Error while synchronizing ID {uid=ttesting}: org.lsc.exception.LscServiceException: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Error while synchronizing ID {uid=ttusting}: org.lsc.exception.LscServiceException: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Fail to compute expression: "cn=" + rjs:srcBean.getDatasetFirstValueById("cn") + ",ou=lsctest,ou=ESCAUX,dc=ldaptest,dc=escaux,dc=com" on id=cn=knaap knaapers,ou=People,dc=ldap,dc=com Reason: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Error while synchronizing ID {uid=kknaapers}: org.lsc.exception.LscServiceException: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Fail to compute expression: "cn=" + rjs:srcBean.getDatasetFirstValueById("cn") + ",ou=lsctest,ou=ESCAUX,dc=ldaptest,dc=escaux,dc=com" on id=cn=lol loller,ou=People,dc=ldap,dc=com Reason: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Error while synchronizing ID {uid=lloller}: org.lsc.exception.LscServiceException: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Fail to compute expression: "cn=" + rjs:srcBean.getDatasetFirstValueById("cn") + ",ou=lsctest,ou=ESCAUX,dc=ldaptest,dc=escaux,dc=com" on id=cn=testaccount,ou=People,dc=ldap,dc=com Reason: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Fail to compute expression: "cn=" + rjs:srcBean.getDatasetFirstValueById("cn") + ",ou=lsctest,ou=ESCAUX,dc=ldaptest,dc=escaux,dc=com" on id=cn=new user,ou=People,dc=ldap,dc=com Reason: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Error while synchronizing ID {uid=testaccount}: org.lsc.exception.LscServiceException: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - Error while synchronizing ID {uid=nuser}: org.lsc.exception.LscServiceException: javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: missing ; before statement (<Unknown source>#5) in <Unknown source> at line number 5 Apr 05 12:08:53 - ERROR - All entries: 9, to modify entries: 0, successfully modified entries: 0, errors: 9 Apr 05 12:08:53 - INFO - Starting clean for adUser Apr 05 12:08:53 - INFO - All entries: 8, to modify entries: 0, successfully modified entries: 0, errors: 0
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list lsc-users@lists.lsc-project.org http://lists.lsc-project.org/listinfo/lsc-users