Hi,

it´s in:
lsc.syncoptions.ADpam.default.action = F

# Set default behavior for all attributes not explicitly specified below
# Available actions are:
#             - K for Keep: don't change existing values in the destination
#                             (create and default values from syncoptions may 
be applied, though)
#             - F for Force: replace values in the destination with our values
#                             (from source, or force values in syncoptions)
#             - M for Merge: add values to multi-valued attributes
#                             (from source, or create/default/force values in 
syncoptions)
# See documentation at 
http://lsc-project.org/wiki/documentation/1.2/configuration/syncoptions

Btw.:
Is it really allowed to specify all three create, force and default. I thought 
it was "choose one"??
But I don´t know...

Regards,

Gunter


Von: [email protected] [mailto:[email protected]]
Gesendet: Donnerstag, 17. Juni 2010 15:45
An: Jonathan Clarke; Clément OUDOT
Cc: Raphaël Ouazana-Sustowski; [email protected]; Gunter Holzer
Betreff: RE : [lsc-users] RE : RE : RE : ldap2ldap synchro task configuration


All right I have modified my syncoptions by adding what to do in each action 
(create_value,default_value,force_value)
lsc.syncoptions.ADpam.telephoneNumber.create_value=srcBean.getAttributeValueById("telephoneNumber")
lsc.syncoptions.Sunit.telephoneNumber.default_value = 0000000000
lsc.syncoptions.Sunit.telephoneNumber.force_value = 
srcBean.getAttributeValueById("telephoneNumber")
However I don't see where to put K F or M...
It works anyway
Thank you
François

-------- Message d'origine--------
De: Jonathan Clarke [mailto:[email protected]]
Date: jeu. 17/06/2010 15:40
À: Clément OUDOT
Cc: Raphaël Ouazana-Sustowski; [email protected]; François 
Chapuis ([email protected]); Gunter Holzer
Objet : Re: [lsc-users] RE : RE : RE : ldap2ldap synchro task configuration

On 17/06/2010 14:29, Clément OUDOT wrote:
> 2010/6/17 Raphaël Ouazana-Sustowski<[email protected]>:
>> See http://lsc-project.org/wiki/documentation/1.2/configuration/syncoptions
>>
>
> Please check your lsc.syncoptions.TASKNAME.default.action value: this
> should be F and not K if you want always modify destination data

Also check the action type you're using : create_value will only add the
value if you're adding a new entry which was not previously in the
destination.

Jonathan

--
--------------------------------------------------------------
Jonathan Clarke - [email protected]
--------------------------------------------------------------
Ldap Synchronization Connector (LSC) - http://lsc-project.org
--------------------------------------------------------------


_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

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

Reply via email to