2012/9/21 Migue A Perez del rio <[email protected]>: > Ok, > > I make de change, > > and get this error for example: > > Sep 20 13:50:28 - ERROR - Error while adding entry cn=CARLOS MANUEL MORENO > CAAMAL,cn=Users,dc=dpsi,dc=inah,dc=gob,dc=mx in directory > :javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - > 0000207D: UpdErr: DSID-0315121C, problem 6002 (OBJ_CLASS_VIOLATION), data > 1376257 > ]; remaining name 'cn=CARLOS MANUEL MORENO CAAMAL,cn=Users' > Sep 20 13:50:28 - ERROR - Error while synchronizing ID cn=CARLOS MANUEL > MORENO CAAMAL,cn=Users,dc=dpsi,dc=inah,dc=gob,dc=mx: java.lang.Exception: > Technical problem while applying modifications to the destination > dn: cn=CARLOS MANUEL MORENO CAAMAL,cn=Users,dc=dpsi,dc=inah,dc=gob,dc=mx > changetype: add > uid: carlos_morenoc > mail: [email protected] > sn: MORENO CAAMAL > cn: CARLOS MANUEL MORENO CAAMAL > userPassword: [B@3003e926 > objectclass: organizationalPerson >
So, you now have to learn a little bit, we can not do all the work for you. See this error message: LDAP: error code 65 (OBJ_CLASS_VIOLATION) It means you do not have set the correct object classes to create an entry in AD. See http://lsc-project.org/wiki/documentation/2.0/howtos/activedirectory#non-standard_objectclasses Clément. > best regards > > > On Thu, Sep 20, 2012 at 2:18 AM, Clément OUDOT <[email protected]> wrote: >> >> 2012/9/19 Migue A Perez del rio <[email protected]>: >> > Hi Clément >> > >> > You mean, I need to have the same structure, the OpenLDAP source and >> > target >> > AD? >> > >> >> No, you need to configure LSC to build the destination DN in order to >> create entries in the destination branch. This is done in the >> <mainIdentifier> markup. >> >> >> > All user accounts are in >> > >> > ou = users, ou = inah, dc = Organizations, dc = inah, dc = gob, DC = mx >> > (OpenLDAP) >> > >> > and want to >> > >> > CN = Users, DC = DPSI, inah DC =, DC = gob, DC = mx (AD) >> > >> >> So, try this: >> >> <mainIdentifier>js:"cn=" + srcBean.getDatasetFirstValueById("cn") + >> ",CN=Users,DC=DPSI,DC=inah,DC=gob,DC=mx"</mainIdentifier> >> >> >> >> > And it is possible to replicate OpenLdap ---> AD in one direction? >> > >> >> I do not get your question. You can replicate in one or both >> directions, you just need to create task for each direction. >> >> Clément. > > > > > -- > > Ing. Miguel Angel Perez del rio > IEEE R9 ComSoc _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

