Hello,

when i change data in the mysql (sn,mail) there is no sync to the openldap.

this data changed in mysql / sync Log:
####################################

Sep 14 18:26:22 - ERROR - Error while adding entry cn=xxxxx.xxxxper,ou=vbk,ou=studenten in directory :javax.naming.NameAlreadyBoundException: [LDAP: error code 68 - Entry Already Exists]; remaining name 'cn=Michael.Stopper,ou=vbk,ou=studenten' Sep 14 18:26:22 - ERROR - Error while synchronizing ID cn=Michael.Stopper,ou=vbk,ou=studenten: java.lang.Exception: Technical problem while applying modifications to directory
dn: cn=xxxxxx.xxxx,ou=vbk,ou=studenten
sn: Stopper
cn: Michael.Stopper

########

Call:

./lsc -f /root/02_lsc/lsc-2.0-SNAPSHOT/lsc-trunk-SNAPSHOT/etc/ -s studenten_vbk

########

Config:

lsc.tasks.studenten_vbk.srcService = org.lsc.service.SimpleJdbcSrcService
lsc.tasks.studenten_vbk.srcService.requestNameForList = getInetOrgPersonList_stud_vbk lsc.tasks.studenten_vbk.srcService.requestNameForObject = getInetOrgPerson_stud_vbk
lsc.tasks.studenten_vbk.dstService = org.lsc.jndi.SimpleJndiDstService
lsc.tasks.studenten_vbk.dstService.baseDn = dc=abk-stuttgart,dc=de
lsc.tasks.studenten_vbk.dstService.filterAll = (cn=*)
lsc.tasks.studenten_vbk.dstService.pivotAttrs = cn
lsc.tasks.studenten_vbk.dstService.filterId = (cn={cn})
lsc.tasks.studenten_vbk.dstService.attrs = cn uid mail sn userPassword description objectClass
lsc.tasks.studenten_vbk.bean = org.lsc.beans.SimpleBean
lsc.tasks.studenten_vbk.dn = "cn=" + srcBean.getAttributeFirstValueById("cn") + ",ou=vbk,ou=studenten"
dn.real_root = dc=abk-stuttgart,dc=de
lsc.syncoptions.studenten_vbk = org.lsc.beans.syncoptions.PropertiesBasedSyncOptions
lsc.syncoptions.studenten_vbk.objectClass.create_value = "inetOrgPerson"
lsc.syncoptions.studenten_vbk.objectClass.action = F
lsc.syncoptions.studenten_vbk.default.action = K
lsc.syncoptions.studenten_vbk.default.delimiter = $
lsc.syncoptions.studenten_vbk.sn.action = F
lsc.syncoptions.studenten_vbk.userPassword.action = F
lsc.syncoptions.studenten_vbk.mail.action = F
lsc.syncoptions.studenten_vbk.userPassword.default_value = SecurityUtils.hash(SecurityUtils.HASH_SHA1, "defaultPassword")

best regards,
micha
_______________________________________________________________
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