Hi ! 

We are trying to synchronize AD (Samba4) to OpenLDAP. The main issue comes from 
syncing group membership to OpenLDAP. I'm not confident with rjs but I produced 
this : 

<dataset> 
<name>memberUid</name> 
<policy>FORCE</policy> 
<forceValues> 
<string> 
<![CDATA[rjs: 
var membersSrcDn = srcBean.getDatasetValuesById("member"); 
var membersDstDn = []; 
for (var i=0; i < membersSrcDn.size(); i++) 
{ 
var memberSrcDn = membersSrcDn.get(i); 
try{ 
sAMAccountName = srcLdap.attribute(memberSrcDn, "sAMAccountName").get(0); 
} catch(e) { 
java.lang.System.out.println("Error get sAMAccountName for "+memberSrcDn); 
continue; 
} 
membersDstDn.push(sAMAccountName); 

} 
membersDstDn; 
]]> 
</string> 
</forceValues> 


This is not throwing any error but the sync is not working (attributes not 
synchronized). 

Any idea of why ? 

Thank you ! 

_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
lsc-users@lists.lsc-project.org
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to