Issue #339 has been updated by Ali Bendriss.

File lsc.xml-typo.patch added
File run-lsc.log added
File postgresql-2011-09-30.log added
File test.ldif added

Hi,

A typo is still present please see lsc.xml-typo.patch
I've done a try and logged lsc + postgresql.

thanks
----------------------------------------
Bug #339: ldap2postgresql
http://tools.lsc-project.org/issues/339

Author: Ali Bendriss
Status: New
Priority: Normal
Assigned to: Sébastien Bahloul
Category: Sample
Target version: 2.0.x branch
Problem in version: 


Hello,

sample/postgresql/etc/lsc.xml :

        <requestNameForCreate>insertInetOrgPerson</requestNameForCreate>
        <requestNameForUpdate>updateInetOrgPerson</requestNameForUpdate>
        <requestNameForDelete>deleteInetOrgPerson</requestNameForDelete>

should be (from DstDatabase.java)

        <requestsNameForInsert>insertInetOrgPerson</requestsNameForInsert>
        <requestsNameForUpdate>updateInetOrgPerson</requestsNameForUpdate>
        <requestsNameForDelete>deleteInetOrgPerson</requestsNameForDelete>

By the way if this is correct (?) running the sample return :
10:49:34.412 [main] INFO  o.l.c.XmlConfigurationHelper - Loading plugins ...
10:49:39.933 [main] INFO  o.l.c.XmlConfigurationHelper - Plugins loaded ...
10:49:40.018 [main] INFO  org.lsc.jndi.JndiServices - Connecting to LDAP server 
ldap://127.0.0.1:33389/dc=lsc-project,dc=org as cn=Directory Manager
10:49:40.058 [main] DEBUG org.lsc.beans.BeanComparator - Reading 
sql-map-config.xml from 
file:/home/ali/Dev/paris8/lsc/lsc-trunk-SNAPSHOT/sample/postgresql/etc/sql-map-config.xml
Sep 30 10:49:40 - WARN  - Starting sync for People
Sep 30 10:49:40 - ERROR - Error while synchronizing ID {uid=00000001}: 
java.lang.NullPointerException
Sep 30 10:49:40 - ERROR - Error while synchronizing ID {uid=00000003}: 
java.lang.NullPointerException
Sep 30 10:49:40 - ERROR - Error while synchronizing ID {uid=00000001}: 
java.lang.NullPointerException
Sep 30 10:49:40 - ERROR - Error while synchronizing ID {uid=00000002}: 
java.lang.NullPointerException
Sep 30 10:49:40 - ERROR - Error while synchronizing ID {uid=00000002}: 
java.lang.NullPointerException
Sep 30 10:49:40 - ERROR - Error while synchronizing ID {uid=00000003}: 
java.lang.NullPointerException
Sep 30 10:49:40 - ERROR - All entries: 3, to modify entries: 0, modified 
entries: 0, errors: 3
Sep 30 10:49:40 - ERROR - All entries: 3, to modify entries: 0, modified 
entries: 0, errors: 3

PS: I'm using uid as the pivot but it's the same error with the email.

Cheers.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to