Hello,

I need to move objects from on ldap directory with a rDN composed of a cn=xxx to a destination directory where rDN will be supannCodeEntite=yyy

can I have a source pivotAttributes based on "cn" and a destination pivotAttributes based on supannCodeEntite ?

and because xxx will be replaced with a corresponding table (bijective array) to yyy , what would be the mainIdentifier ? is something like this relevant ?:

<mainIdentifier>

<![CDATA[js: var src_dn= srcBean.getMainIdentifier(); var dst_dn = dstBean.getMainIdentifier();

// code to link src_dn to dst_dn bijection ....

function replaceAll(srcValue, dstValue, rDN)
{
return rDN.split(srcValue).join(dstValue);

dst_dn = replaceAll(src_dn, dst_dn, src_dn)

dst_dn;

</mainIdentifier>

thanks for your help .

_______________________________________________________________
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