On 17/06/2010 15:56, Gunter Holzer wrote:
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
Yes, that sets the default (same for all attributes). You can also set
it for each attribute, like this:
lsc.syncoptions.ADpam.attributeName.action = F
Btw.:
Is it really allowed to specify all three create, force and default. I
thought it was "choose one"??
It can make sense in some cases.
For example: the create value is used when creating a new entry, but
only if we don't have a value from the source for that. So if you create
a user with a UID, you may want to generate one on creation if he
doesn't have one, but make sure other users who already have a UID in
the source have it copied over.
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