Issue #226 has been updated by Raphaël Ouazana.

Not exactly. The goal would be to make the same calculation that is done to 
generate the dn in an other script (and an other task).

If you have (simplified conf):
<pre>
userTask.pivotAttrs = mail
companyTask.pivotAttrs = ou
</pre>

You would be able to call something like:
<pre>
companyTask.member.force_value = \
  var members = srcBean.getAttributeValuesById("member"); \
  var result = new Array(); \
  for (var i=0; i<members.size(); i++) { \
    result[i] = pivot(members.get(i), "userTask"); \
  } \
  result;
</pre>

Regards,
Raphaël Ouazana.
----------------------------------------
Feature #226: Function to compute the dn of a destination entry based on the 
source entry
http://tools.lsc-project.org/issues/226

Author: Raphaël Ouazana
Status: New
Priority: Normal
Assigned to: 
Category: 
Target version: 


Hi,

A fine function would be to be able to use the pivot parameters to easily 
compute a destination dn based on a source dn. That would allow an easier group 
synchronization.
This function should be available in Javascript, and accept parameters like 
this example:
<pre>
var newdn = pivot(dn, taskName);
</pre>
I think the taskName parameter is necessary to find which task would make the 
right transformation.

Regards,
Raphaël Ouazana.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to