Hello
back to that thread about using different pivot attributes
the response was to use LSC 2.2, but where can I find sources ?
I did found https://lsc-project.org/documentation/2.2/start
but no doanwloads there
in https://lsc-project.org/download i don't see any 2.2 ?
Then if I find it, I guess I can build an RPM from the RPM source by
replacing the tar.gz into the .spec file .
Thanks .
Le 05/06/2019 à 08:57, Clément OUDOT a écrit :
Le 04/06/2019 à 17:10, Jehan Procaccia a écrit :
Hi,
indeed maybe I wasn't clear enough of what I want to do
in SRC ldap I have a branch for our school structures (organigram) ,
example :
dn: sn=dsi,sn=tsp,ou=Structures,dc=domain,dc=fr
sn: dsi
cn: Direction Systems Informations
In the DST ldap I want these structures to take supannCodeEntite as
the rDN (in place of sn) and on the fly change the values from last
branch name to full organigram tree with "/" as separator :
so for example the SRC dsi structure above will be renamed from its DN
tree to :
dn: supannCodeEntite=tsp/dsi,ou=Structures,dc=domain,dc=fr
supannCodeEntite: tsp/dsi
description: Direction Systems Informations
is this more clear ? can it be done in a LSC t
Not with version 2.1, as the value in destination is not present in
source. you need pivot transformation to compute cn=dsi,sn=tsp into
supannCodeEntite=tsp/dsi.
This feature is coded for 2.2 version:
https://lsc-project.org/documentation/2.2/configuration/syncoptions#pivot_transformation_lsc_tasks_task_propertiesbasedsyncoptions_pivottransformation
For the moment, with 2.1, what you can do is create an attribute in
source that will contain the correct value, and then use this as pivot.
You can create an LSC task to compute this value in source LDAP.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users