Le 09/07/2015 18:32, Kevin Lim a écrit :
*Hi,*
Hi Kim,
I am facing an error on replicating openldap to MS Active Directory. I
am keep seeing this error “*/Technical problem while applying
modifications to the destination# Sun Jun 28 08:35:30 EDT 2015”/*
How do I find out what exactly the issue behind? Is there any
verbose/debugging log file which I can look at?
See http://lsc-project.org/wiki/documentation/latest/configuration/logging
I would like to map the following attributes on OpenLDAP to AD
OpenLDAP = AD
==============
uid = cn
uid = givenName
uid = sAMAccountName
Hope you can guide me by giving a pointer on how to resolve this
issue. Thanks!
Command: */lsc -f /etc/lsc/sysadmin -s all -c all -nd –nu/*
*/(see attached for the lsc.xml file)/*
*//*
Error logs
Jun 28 08:35:30 - ERROR - Error while adding entry CN=Mohd Hafiz
Mohd,ou=siswa,DC=xxx,DC=local in directory
:javax.naming.NameAlreadyBoundException: [LDAP: error code 68 -
00002071: UpdErr: DSID-0305037A, problem 6005 (ENTRY_EXISTS), data 0
]; remaining name 'CN=Mohd Hafiz Mohd,ou=siswa'
*/Jun 28 08:35:30 - ERROR - Error while synchronizing ID CN=Mohd Hafiz
Mohd,ou=siswa,DC=xxx,DC=local: java.lang.Exception: Technical problem
while applying modifications to the destination/*
*/# Sun Jun 28 08:35:30 EDT 2015/*
dn: CN=Mohd Hafiz Mohd,ou=siswa,DC=xxx,DC=local
changetype: add
sn: .
useraccountcontrol: 512
ou: FKAAS
UExpireDate: Jan 1 2018
objectClass: user
userPrincipalName: [email protected] <mailto:[email protected]>
samAccountName: cf120127
cn: Mohd Hafiz Mohd
carLicense: e5481
The error returned by AD is clearly written:
javax.naming.NameAlreadyBoundException: [LDAP: error code 68 - 00002071:
UpdErr: DSID-0305037A, problem 6005 (ENTRY_EXISTS)
It means the entry already exist in AD. So if LSC tries to create, it's
because the filters you configured do not match the entry in AD, and LSC
can't find it. Check you filters and pivot attributes, see
http://lsc-project.org/wiki/documentation/latest/basics
--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux
87, rue de Turbigo - 75003 PARIS
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users