Am 24.10.2011 16:02, schrieb Rene Zeipelt:
Am 24.10.2011 15:01, schrieb Clément OUDOT:
2011/10/24 Rene Zeipelt<[email protected]>:
Am 24.10.2011 13:49, schrieb Clément OUDOT:
2011/10/24 Rene Zeipelt<[email protected]>:
hello,
we use version 1.2.1 for ldap to ad sync and all runs perfect. since we
want
to build in an update condition by checking the modifyTimeStamp in ldap
and
ad
we recognize no function. we set the properties to
lsc.tasks.user.condition.update =
srcBean.getAttributeValueById("modifyTimeStamp")>
dstBean.getAttributeValueById("modifyTimeStamp")
any help? thanks. rene
Hello,

you should maybe try to use a substring of modifyTimeStamp value to
get only digits, in order to have a successful comparaison test. To
get date + time, take the first 14 characters of the value
(YYYYMMDDhhmmss)


Clément.
ok improve from modifyTimeStamp to modifyTimestamp on source site
(openldap).
lsc.tasks.user.condition.update =
srcBean.getAttributeValueById("modifyTimestamp").substr(0, 14)>
dstBean.getAttributeValueById("modifyTimeStamp").substr(0, 14)
-> have no effects. exports show in source modifyTimestamp: 20111024122754Z
and in destination modifyTimeStamp: 20111024122104.0Z
also the "whenChanged"-attribute on ad have no effects. can i debug this
operation? thanks. rene
Please answer to the list.

I don't have any other idea for your problem, maybe other will.


Clément.
sorry for wrong redirection. i got a solution. so have to forget to list the modifyTimestamp to lsc.tasks.user.srcService.attrs and the modifyTimeStamp to lsc.tasks.user.dstService.attrs. if this is configured i need the property: lsc.syncoptions.user.modifyTimeStamp.action = K and it runs with no errors.
regards, rene




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

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

ok was too fast. i can not define a create_value for new users. it seems
that lsc use the original timestamp from ldap and this results in
javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - 00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion operation, data 0, v1db1];
another way would be a filter on the source attribute? thanks. rene

Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift

_______________________________________________________________
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