Hello, I downloaded it again and put it on the same place but I saw I had another one. So now everything run fine till there. but I've another problem with the following :
mainIdentifier>srcBean.getMainIdentifier()</mainIdentifier> I get the following error : oct. 22 16:37:47 - INFO - Reflections took 61 ms to scan 1 urls, producing 56 keys and 117 values oct. 22 16:37:47 - INFO - Logging configuration successfully loaded from /etc/lsc/logback.xml oct. 22 16:37:47 - INFO - LSC configuration successfully loaded from /etc/lsc/ oct. 22 16:37:47 - INFO - Connecting to LDAP server ldap://localhost:389/dc=gfbienne,dc=lan as cn=manager,ou=Internal,dc=gfbienne,dc=lan oct. 22 16:37:47 - INFO - Starting sync for MySyncTask oct. 22 16:37:48 - ERROR - Error while synchronizing ID <MyUser>@gbsl.ch: java.lang.RuntimeException: org.apache.directory.api.ldap.model.exception.LdapInvalidDnException: ERR_04202 A value is missing on some RDN I dont know where I could add more informations about missing RDN If I give more informations in the mainIdentifier... <mainIdentifier>"mail=" + srcBean.getDatasetValueById("mail") + ",ou=GFBienne,ou=Users,ou=Accounts,dc=gfbienne,dc=lan"</mainIdentifier> I get this error : oct. 22 16:49:57 - INFO - Reflections took 62 ms to scan 1 urls, producing 56 keys and 117 values oct. 22 16:49:57 - INFO - Logging configuration successfully loaded from /etc/lsc/logback.xml oct. 22 16:49:57 - INFO - LSC configuration successfully loaded from /etc/lsc/ oct. 22 16:49:57 - INFO - Connecting to LDAP server ldap://localhost:389/dc=gfbienne,dc=lan as cn=manager,ou=Internal,dc=gfbienne,dc=lan oct. 22 16:49:58 - INFO - Starting sync for MySyncTask oct. 22 16:49:58 - ERROR - Fail to compute expression: "mail=" + srcBean.getDatasetValueById("mail") + ",ou=GFBienne,ou=Users,ou=Accounts,dc=gfbienne,dc=lan" on id=<MyUser>@gbsl.ch Reason: javax.script.ScriptException: TypeError: srcBean.getDatasetValueById is not a function in <eval> at line number 5 oct. 22 16:49:58 - ERROR - Error while synchronizing ID {mail=<MyUser>@gbsl.ch}: org.lsc.exception.LscServiceException: javax.script.ScriptException: TypeError: srcBean.getDatasetValueById is not a function in <eval> at line number 5 oct. 22 16:49:58 - ERROR - All entries: 1, to modify entries: 0, successfully modified entries: 0, errors: 1 I dont exactly where to search for that ... in my config file, I added the following information : <!-- ./baseDn This mandatory node provide the directory base branch that will be used to look for entries (list and get) --> <!-- <baseDn>ou=Users,dc=lsc-project,dc=org</baseDn> --> <baseDn>ou=GFBienne,ou=Users,ou=Accounts,dc=gfbienne,dc=lan</baseDn> Thanks to all for your help :) Le 22.10.2019 à 16:39, Soisik Froger a écrit : On 22/10/2019 14:50, Forster Arnaud, Gymnase francais wrote: com.ibatis.common.logging.jakarta.JakartaCommonsLoggingImpl error GRAVE: SimpleDataSource: Error while loading properties. Cause: java.lang.ClassNotFoundException: org.mariadb.jdbc.Driver java.lang.ClassNotFoundException: org.mariadb.jdbc.Driver So it seems I should add my mariadb.jar package to the path /usr/lib/lsc but it didn't work So I don't know howto add my package to the project ... Hi, I've downloaded the driver from https://mariadb.com/downloads/#connectors and added it to /usr/lib/lsc, and I don't have any problem loading/using it to connect to a mariadb database with LSC. Could you check again if it there, if it has the proper rights on. Or maybe, you now have a different error when you start lsc ?
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list lsc-users@lists.lsc-project.org https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users