Hi all, It seems to be a bug, but I'm not sure. I'm using db2ldap tasks to synchronize data from an HSQLDB instance to a LDAP server. My CSV data comes from LCS synchronization, through ldap2ldap task with a export to CSV via log4j. I would like to synchronize this kind of file.
So, I succeed into running a hsqldb instance (without ant ;), import data and run LSC on it. It seems that all is OK, but LSC prints strange user ID, with a "=null" string appended. Here are some traces : 8<-------- [root at localhost etc]# /opt/lsc-csv2ldap/bin/lsc-csv2ldap-wrapper -s all 0 [main] DEBUG org.lsc.Configuration.setConfiguration(Configuration.java:299) - Loading configuration url : file:/opt/lsc-csv2ldap/etc/lsc.properties 152 [main] DEBUG org.lsc.Configuration.setConfiguration(Configuration.java:299) - Loading configuration url : file:/opt/lsc-csv2ldap/etc/lsc.properties 174 [main] WARN org.lsc.SimpleSynchronize.launchTask(SimpleSynchronize.java:217) - Starting sync for application 1318 [main] DEBUG org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:295) - Synchronizing org.lsc.objects.myUtilisateur for jdoe=null 1334 [main] ERROR org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:303) - Unable to get object for id=jdoe=null 1345 [main] DEBUG org.lsc.utils.I18n.setLocaleAndLoadMessages(I18n.java:167) - Setting locale to fr_FR 1362 [main] ERROR org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:389) - # Nombre d'enregistrement(s) pris en compte: 1, nombre d'enregistrement(s) ?? reporter: 0, nombre d'enregistrements report??(s): 0, nombre d'erreurs: 1 8<-------- This is always the same, even with many users. By doing an SQL query on my HSQLDB instance, I get correct data. Could it be possible that there are some "invisible" imported characters ? Any help will be appreciated. Cheers, Thomas. -- Thomas Chemineau

