Hi, The first lines are a logging problem, so can ou give us your logback.xml ?
2010/5/17 Romain <[email protected]>: > Hello, > > I write this mail, because i try the new version 1.2.0, and i have a > problem. I have keep my previous lsc.properties who works with the version > 1.2-snapshot, to copy this in my new lsc.properties. > So it is my lsc.properties : > > --------------------------------------------------- > ############## > ### Source ### > ############## > src.java.naming.security.principal=cn=admin,dc=openldap,dc=nomotech,dc=local > src.java.naming.security.credentials=$ervSimu1 > src.java.naming.security.authentication=simple > src.java.naming.referral=ignore > src.java.naming.provider.url=ldap://192.168.0.2:389/dc=openldap,dc=nomotech,dc=local > src.java.naming.ldap.version=3 > src.java.naming.ldap.derefAliases=never > src.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory > > > ################### > ### Destination ### > ################### > dst.java.naming.security.principal=cn=Administrateur,cn=Users,dc=nomotech,dc=local > dst.java.naming.security.credentials=$ervSimu1 > dst.java.naming.security.authentication=simple > dst.java.naming.referral=ignore > dst.java.naming.provider.url=ldap://192.168.0.1:389/dc=nomotech,dc=local > dst.java.naming.ldap.version=3 > dst.java.naming.ldap.derefAliases=never > dst.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory > dst.java.naming.ldap.pageSize = 1000 > #dst.java.naming.tls = true > > > ############# > ### Tasks ### > ############# > lsc.tasks=user > > ### User ### > lsc.tasks.user.srcService=org.lsc.jndi.SimpleJndiSrcService > lsc.tasks.user.srcService.filterAll=(&(sn=*)(objectClass=inetOrgPerson)) > lsc.tasks.user.srcService.baseDn=ou=Users > lsc.tasks.user.srcService.attrs=description cn sn userPassword uid givenName > mail > lsc.tasks.user.dstService=org.lsc.jndi.SimpleJndiDstService > lsc.tasks.user.dstService.filterAll=(&(sn=*)(objectClass=user)) > lsc.tasks.user.dstService.baseDn=cn=Users > lsc.tasks.user.dstService.attrs = cn sn sAMAccountName objectClass > description userPrincipalName userPassword givenName mail > lsc.tasks.user.bean=org.lsc.beans.SimpleBean > lsc.tasks.user.srcService.filterId = > (&(objectClass=inetOrgPerson)(uid={uid})) > lsc.tasks.user.srcService.pivotAttrs = uid > lsc.tasks.user.dstService.filterId = > (&(objectClass=user)(sAMAccountName={uid})) > lsc.tasks.user.dstService.pivotAttrs = uid > lsc.tasks.user.dn = "cn=" + srcBean.getAttributeValueById("cn") + "cn=Users" > > > ################### > ### Syncoptions ### > ################### > > ### User ### > lsc.syncoptions.user = org.lsc.beans.syncoptions.PropertiesBasedSyncOptions > lsc.syncoptions.user.default.action = F > ### objectClass <- top/user/person/organizationalperson > lsc.syncoptions.user.objectClass.action = F > lsc.syncoptions.user.objectClass.force_value = > "top";"user";"person";"organizationalPerson" > ### sAMAccountName <- uid > lsc.syncoptions.user.sAMAccountName.create_value = > srcBean.getAttributeValueById("uid") > ### userPrincipalName <- uid + "@nomotech.local" > lsc.syncoptions.user.userPrincipalName.force_value = > srcBean.getAttributeValueById("uid") + "@nomotech.local" > ### userAccountControl > lsc.syncoptions.user.userAccountControl.create_value = > AD.userAccountControlSet( "0", [AD.UAC_SET_NORMAL_ACCOUNT]) > ### pwdLastSet <- 0 to force user to change password on next connection > lsc.syncoptions.user.pwdLastset.create_value = "0" > ### unicodePwd <- "changeit" at creation (requires SSL connection to AD) > lsc.syncoptions.user.unicodePwd.create_value = AD.getUnicodePwd("changeit") > -------------------------------------------------------- > > So when i launch this command : bin/lsc -s all, i have this error message : > > ----------------------------------------------------- > SLF4J: The following loggers will not work becasue they were created > SLF4J: during the default configuration phase of the underlying logging > system. > SLF4J: See also http://www.slf4j.org/codes.html#substituteLogger > SLF4J: org.lsc.utils.output.LdifLayout > mai 17 10:00:32 - INFO - Starting sync for user > mai 17 10:00:32 - INFO - Connecting to LDAP server > ldap://192.168.0.2:389/dc=openldap,dc=nomotech,dc=local as > cn=admin,dc=openldap,dc=nomotech,dc=local > mai 17 10:00:32 - INFO - Connecting to LDAP server > ldap://192.168.0.1:389/dc=nomotech,dc=local as > cn=Administrateur,cn=Users,dc=nomotech,dc=local > mai 17 10:00:32 - ERROR - Error while adding entry ou= in directory > :javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 > - 00000057: LdapErr: DSID-0C090A75, comment: Error in attribute conversion > operation, data 0, vece]; remaining name 'ou=' > mai 17 10:00:32 - ERROR - Error while synchronizing ID ou=: > java.lang.Exception: Technical problem while applying modifications to > directory > dn: ou=,dc=nomotech,dc=local > changetype: add > userPrincipalName: [email protected] > mail: [email protected] > sn: romain > cn: romain romain > sAMAccountName: romain > userPassword: {MD5}E0xHX+Rnx1Qw2N/Nw+rz3Q== > objectClass: organizationalPerson > objectClass: person > objectClass: user > objectClass: top > givenName: romain > > mai 17 10:00:32 - ERROR - Error while adding entry ou= in directory > :javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 > - 00000057: LdapErr: DSID-0C090A75, comment: Error in attribute conversion > operation, data 0, vece]; remaining name 'ou=' > mai 17 10:00:32 - ERROR - Error while synchronizing ID ou=: > java.lang.Exception: Technical problem while applying modifications to > directory > dn: ou=,dc=nomotech,dc=local > changetype: add > userPrincipalName: [email protected] > sn: toto > cn: toto1 > sAMAccountName: toto > userPassword: {MD5}E0xHX+Rnx1Qw2N/Nw+rz3Q== > objectClass: organizationalPerson > objectClass: person > objectClass: user > objectClass: top > givenName: toto > > mai 17 10:00:32 - ERROR - All entries: 2, to modify entries: 2, modified > entries: 0, errors: 2 > ----------------------------------------------------- > > So i don't know why i have this error, this line is strange : dn: > ou=,dc=nomotech,dc=local > > ??? > > Thanks > > > > _______________________________________________________________ > Ldap Synchronization Connector (LSC) - http://lsc-project.org > > lsc-users mailing list > [email protected] > http://lists.lsc-project.org/listinfo/lsc-users > -- "In a world without walls and fences, who needs windows and gates ?" ------------------------------------------------------------------------------------------------------ LSC : Ldap Synchronization Connector : 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

