Issue #100 has been updated by Cl?ment Oudot.

I cannot run the connector now, but I send my configuration:
<pre>
lsc.syncoptions.fonction = org.lsc.beans.syncoptions.PropertiesBasedSyncOptions
lsc.syncoptions.fonction.default.action = F

# member <- uniqueMember
lsc.syncoptions.fonction.member.delimiter = $
lsc.syncoptions.fonction.member.force_value = var umembers = 
srcBean.getAttributeValuesById("uniqueMember").toArray() ; for (var i=0; 
i<umembers.length; i++ ) { try { umembers[i] = ldap.attribute(ldap.list( 
"ou=USERS", "(sAMAccountName=" + (srcLdap.attribute(umembers[i], 'uid').get(0) 
+ ")")).get(0), 'distinguishedname').get(0) } catch (e) {umembers[s]=null} } 
var members = new Array(); var j=0; for (var i=0; i<umembers.length; i++) { if 
(umembers[i]!=null) members[j++]=umembers[i] } members[j++] = "cn="+ 
srcBean.getAttributeFirstValueById("cn") + ",ou=TEST,dc=EXAMPLE,dc=COM" ; 
members
</pre>

I have to say that values are DN with accents.
----------------------------------------
Bug #100: Multivaluated attributes are always overriden
http://tools.lsc-project.org/issues/show/100

Author: Cl?ment Oudot
Status: New
Priority: Normal
Assigned to: 
Category: Core
Target version: 


Hello,

I synchronize group members, so I have a multivaluated attribute generated by a 
complex javascript loop (see issue #78)

The problem is that LSC always update values, but they are the same on source 
and destination. Maybe the List comparaison does not work?


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.lsc-project.org/pipermail/lsc-dev/attachments/20090702/fc9617bc/attachment.htm>

Reply via email to