Am 24.10.2011 16:02, schrieb Rene Zeipelt:
Am 24.10.2011 15:01, schrieb Clément OUDOT: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.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 wewantto build in an update condition by checking the modifyTimeStamp in ldapand ad we recognize no function. we set the properties to lsc.tasks.user.condition.update = srcBean.getAttributeValueById("modifyTimeStamp")> dstBean.getAttributeValueById("modifyTimeStamp") any help? thanks. reneHello,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: 20111024122754Zand in destination modifyTimeStamp: 20111024122104.0Zalso the "whenChanged"-attribute on ad have no effects. can i debug thisoperation? thanks. renePlease answer to the list. I don't have any other idea for your problem, maybe other will. Clément.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 injavax.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
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

