Answering to myself, Le 09/12/2015 12:07, [email protected] a écrit : > Hi again, > > I need to construct a list of users DNs based on memberUid attribute of > another directory, which contains usernames. There is no error at all, > nothing is written to the destination directory, what could be the > problem here ? Is there a data type issue ? > > ------------------------------- > <dataset> > <name>member</name> > <forceValues> > <string><![CDATA[js: > > var membersdn = [] ; > for (var user in srcBean.getDatasetValuesById("memberUid")) { > membersdn[user] = "uid=" + user + "ou=xxx,dc=xxx,dc=xx";
make use of membersdn.push() instead of using the array[key], so it can be evaluated by LSC. > } > membersdn; > > ]]></string> > </forceValues> > </dataset> > ------------------------------- > > Thanks > _______________________________________________________________ > Ldap Synchronization Connector (LSC) - http://lsc-project.org > > lsc-users mailing list > [email protected] > http://lists.lsc-project.org/listinfo/lsc-users > -- Martin Hamant IT Administrator OW2 www.ow2.org C: +33 951 736 979 F: +33 177 725 763 The open source community for infrastructure software _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

