2013/7/19 Martin Geisenhof <[email protected]>: >> Ok, alls seems good. I have a working configuration similar to yours >> on a MySQL database. Maybe you face a problem with Informix? > > I don't know, maybe. > >> You can maybe try to set #cn:VARCHAR# instead #cn#. Other tricks like >> this can be found in iBatis documentation, but not sure what works or >> not. > > If i use it like mentioned above the error is gone. But then i get the > following errors: > > : > : > Jul 19 09:36:10 - INFO - Starting clean for syncStudenten-full > Jul 19 09:36:11 - ERROR - Object ou=people,dc=hoke,dc=idm not deleted > because it has children (LDAP error code 66 received). To delete this entry > and it's subtree, set the dst.java.naming.recursivedelete property to true > Jul 19 09:36:11 - ERROR - Error while synchronizing ID > ou=people,dc=hoke,dc=idm: java.lang.Exception: Technical problem while > applying modifications to destination service > # Fri Jul 19 09:36:11 CEST 2013 > dn: ou=people,dc=hoke,dc=idm > changetype: delete > Jul 19 09:36:11 - ERROR - All entries: 1, to modify entries: 1, successfully > modified entries: 0, errors: 1 > > I tried to change the filter like this, but the error is the same. I don't > want to delete the ou object. Any Ideas? > Old: <getAllFilter>(objectClass=*)</getAllFilter> > New: <getAllFilter>(&(ou=people)(objectClass=*))</getAllFilter> > > And it still doesn't work to delete an entry in destination. but if i create > manually an object in openldap and start the lsc, this entry will be > deleted. > >> Your error message refers to getStudentenClean-InlineParameterMap, >> have you something defined with this name? > > Just the two definitions: > > lsc.xml: > <requestNameForClean>getPersonalClean</requestNameForClean> > > SQL xml-File: > <select id="getStudentenClean" resultClass="java.util.HashMap" > parameterClass="java.util.Map"> > SELECT cn > FROM idmstudview > WHERE cn = #cn:VARCHAR# > </select> >
Seems your data are empty. Could you send an example of data in the SQL database a data in the LDAP directory? Clément. _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

