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.


-- 
Clément Oudot | Identity Solutions Manager

[email protected]

Worteks | https://www.worteks.com

_______________________________________________________________
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

Reply via email to