Issue #517 has been updated by Joel Foote.

Hey Sébastien,

It is attached with original submission! Called lsc_copy.xml

Thanks,
Joel
----------------------------------------
Bug #517: Synchronous tasks using the ldapSourceService and 
ldapDestinationService do not update values
http://tools.lsc-project.org/issues/517

Author: Joel Foote
Status: New
Priority: Normal
Assigned to: 
Category: Core
Target version: 
Problem in version: 


Pulling from one ldap source to another is not updating values when ran in 
synchronous mode with the -s flag. The same task ran asynchronous using -a do 
update values.

The LDIF in these cases show an add operation rather then modify, here is an 
exmaple:

Aug 15 21:26:47 - DEBUG - java.lang.Exception: Technical problem while applying 
modifications to the destination
java.lang.Exception: Technical problem while applying modifications to the 
destination
        at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:764) 
[lsc-core-2.0.jar:na]
        at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:663) 
[lsc-core-2.0.jar:na]
        at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:633) 
[lsc-core-2.0.jar:na]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
[na:1.7.0_05]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
[na:1.7.0_05]
        at java.lang.Thread.run(Unknown Source) [na:1.7.0_05]

dn: uid=sflyuser,ou=people,dc=example,dc=com
changetype: add
uid: sflyuser
cn: supertest flyuser
gidNumber: 100
uidNumber: 5678
objectClass: ldapPublicKey
objectClass: posixAccount
objectClass: account
objectClass: shadowAccount
objectClass: top
gecos: eee
loginShell: /bin/ksh

Running this same job, and using -a the ldif uses a modify type and updates the 
attributes as expected.


-- 
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