Issue #517 has been updated by Clément OUDOT.

Status changed from New to Closed
Assigned to set to Clément OUDOT
Target version deleted (2.0.1)
% Done changed from 0 to 100
Problem in version set to 2.0

Hi,

yes I don't know why the previous confuguration worked, but the correct way to 
configure the filters is the following :

* Source LDAP:
  * All filter: First serach in sync/async mode to get all entries to 
synchronize, returning only the source pivot attribute
  * One filter: After the first search, use the source pivot attribute to get 
each entry from the source
  * Clean filter : used only in clean mode, use the destination pivot to get 
corresponding entry in source

* Dest LDAP:
  * All filter: First search in clean mode to get all entries to delete, 
returning only the destination pivot (see clean filter in source LDAP)
  * One filter: Search done with the pivot of the source LDAP to match the 
entry in destination, like is it done in the source with the One Filter from 
source LDAP.


I close this issue cause it seems you have now a correct configuration
----------------------------------------
Bug #517: Synchronous tasks using the ldapSourceService and 
ldapDestinationService do not update values
http://tools.lsc-project.org/issues/517

Author: Joel Foote
Status: Closed
Priority: Normal
Assigned to: Clément OUDOT
Category: Core
Target version: 
Problem in version: 2.0


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