2010/5/27 Gunter Holzer <[email protected]>:
> Hi,
>
>
>
> I am trying a sync connection from OpenLDAP to AD. I am using LSC 1.2 and I
> have used the tutorial “Populating Active Directory from OpenLDAP”.
>
> But now I am getting an error:
>
>
>
> lsc -f c:\lsc-openldap2ad\etc -c all -s all
>
> Mai 10 10:51:38 - INFO  - Starting sync for ADuser
>
> Mai 10 10:51:38 - INFO  - Connecting to LDAP server
> ldap://141.69.121.114:389/dc
>
> =ldap,dc=test as cn=admin,dc=ldap,dc=test
>
> Mai 10 10:51:39 - INFO  - Connecting to LDAP server
> ldap://141.69.121.117:389/dc
>
> =test,dc=local as CN=Administrator,CN=Users,DC=test,DC=local
>
> Mai 10 10:51:40 - ERROR - Error while adding entry cn=Pavel Chekov,ou=LSC in
> dir
>
> ectory :javax.naming.directory.SchemaViolationException: [LDAP: error code
> 65 -
>
> 0000207B: UpdErr: DSID-030511CF, problem 6002 (OBJ_CLASS_VIOLATION), data 0
>
>  ]; remaining name 'cn=Pavel Chekov,ou=LSC'
>
> Mai 10 10:51:40 - ERROR - Error while synchronizing ID cn=Pavel
> Chekov,ou=LSC: j
>
> ava.lang.Exception: Technical problem while applying modifications to
> directory
>
> dn: cn=Pavel Chekov,ou=LSC,dc=test,dc=local
>
> changetype: add
>
> sn: Chekov
>
> cn: Pavel Chekov
>
>
>
>
>
> Btw.:
>
> Is it possible that there is an error in the Task section of the tutorial?
>
> Shouldn´t we read from OpenLDAP??
>
>
>
> If we want to read from the source all Active Directory users with a
> sAMAccountName, and from the destination all inetOrgPerson entries from
> ou=People with a uid, we could do this:
>
> lsc.tasks.ADuser.srcService.baseDn = cn=Users
>
> lsc.tasks.ADuser.srcService.filterAll =
> (&(sAMAccountName=*)(objectClass=user))
>
>
>
> lsc.tasks.ADuser.dstService.baseDn = ou=People
>
> lsc.tasks.ADuser.dstService.filterAll =
> (&(uid=*)(objectClass=inetOrgPerson))
>
>
>
>


Hi,

several things :
* you change the default delimiter to '$' but your objectClass value
contains ';' as separator. So keep ';' as delimiter (comment
lsc.syncoptions.ADuser.default.delimiter)
* you do not declare saMAccountName and some other attributes in
destination attributes (lsc.tasks.ADuser.dstService.attrs)

Clément.
_______________________________________________________________
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