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;
]]>
Marcin Baluta
Systems Administrator
tyntec GmbH
Semerteichstr. 54 - 56 | 44141 Dortmund, Germany
T +49 231 477 90 405 | F +49 231 108 799 2
<http://www.tyntec.com/> www.tyntec.com
From: Clément OUDOT [mailto:[email protected]]
Sent: Montag, 17. November 2014 15:31
To: Marcin Baluta
Cc: lsc-userslsc-users
Subject: Re: OpenLDAP 2 LDAP synchronization
2014-11-17 15:20 GMT+01:00 Marcin Baluta <[email protected]>:
Holly crap, I owe you a beer Clement J
Great ;)
So, after “fixing” typo groups have been created…
… but no members in there. The java code I use is taken from depth of the
Internet. I have no idea whether it’s working or not.
I think you need to push the DN of the users in the member attribute, not
their sAMAccountName.
Clément.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users