Hello
my LDAP source is a classical Tree with posixGroup used
people is in ou=people
people dn is cn=<my cn>, ou=people, dc=my,dc=dit
groups in ou=groups with the uid in memberUid attribut
I want to sync them in AD group
I found example on LSC mailling list [1]
But the problem is that I need to make an ldap request inside javascript
for getting the CN used by en specifi uid
code is like this pseudo code :
// fetchj all memberer
members=srcBean.getAttributeValuesById("memberUid").toArray();
// for eache member ( which are memberUid)
for each members {
// get the corresponding CN
CN=get_cn_of people_with_member[i]_as_uid
// construct new DN
memberDn = cn=CN + ou=groups+newDIT
// add DN to to memberlist
listMemberDn.push(memberDn);
}
The problem is :
how to write get_cn_of people_with_member[i]_as_uid function ?
Could I define a specific ldap request here (wich is could be
independant of LSC bean ?)
Antoine
[1] http://lists.lsc-project.org/pipermail/lsc-users/2014-April/001839.html
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users