Le 05/04/2016 11:28, Siard van Belkum a écrit :
Dear LSC users,

As a project for my internship, I've got the mission to synchronize an existing OpenLDAP server with a newly created Active Directory server. I've been using LSC to solve this.

Info:
-OpenLDAP is source.
-AD is destination.
-Modify and delete work as intended.

The problem I'm having is that when I add a new user in OpenLDAP and de the following command:

# /usr/bin/lsc -f /etc/lsc/openldap2ad/ -s all -c all

It throws an error and no new user is created in AD.
You can find the complete console text as an attachment to this mail.
With the console text I've also included the complete lsc.xml file and two images from the directories that I use.

To get this far I've followed the steps from "Populating Active Directory from OpenLDAP".

Thanks in advance for any assistance.




Hello,

this is strange because your configuraton seems ok. You should try to use js: or rjs: in front of javascript expression to try different interpreters, for example:

<string>js:srcBean.getDatasetFirstValuebyId("uid")</string>


You can also use rdjs: to launch the debugger: http://lsc-project.org/wiki/documentation/latest/scripting/start#debugger

You should also escape the value you are using in DN: http://lsc-project.org/wiki/documentation/latest/upgrade#dn_escaping

--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux
87, rue de Turbigo - 75003 PARIS
Blog: http://sflx.ca/coudot

_______________________________________________________________
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