2014-11-17 15:45 GMT+01:00 Marcin Baluta <[email protected]>: > You mean in js? > > > > So it will be like this: > > <![CDATA[js: var dstMembers = new Array(); > > var membersSrcDn = srcBean.getDatasetValuesById("member"); > > for (var i=0; i<membersSrcDn.size(); i++) { > > var memberSrcDn = membersSrcDn.get(i); > > sam = srcLdap.attribute( memberSrcDn, > "distinguishedName").get(0); > > dstMembers.push(sam) > > } > > dstMembers; > > ]]> > > >
No, you need to find the DN of the user as it will be in the destination directory. You can search the destination directory with the sAMAccountName to get the corresponding dn. Clément.
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

