Additional Infos,
the java Version on both servers is 1.7.0
the Source and Destination Server are on both Server the same
the LSC Version is on both server the same
Uwe Faber schrieb:
Hi,
I had the following Problem, i want OpenLdap sync to AD, i testet it
on a Debian 7 Server, it works.
Then i build up an new Server with Debian 8, installed LSC from DEB
Package and then i copied the lsc File to the new Server, it works,
but the Group sync did not work, the Group will be generated on the AD
but no members will be synced ???
So i get no Error, the group will be build but with no members, the
same code on another server to the same AD it works without any
problems ?
Have someone any Idea ?
Regards
Uwe
Here is the pice of code:
---------------------------------------------------------
<dataset>
<name>member</name>
<policy>FORCE</policy>
<forceValues>
<string><![CDATA[js:
var membersSrcDn
=srcBean.getAttributeValuesById("memberUid").toArray();
var memberUidValues = [];
for (var i=0; i<membersSrcDn.length; i++)
{
var membersSrcDnString = "uid=" +
membersSrcDn[i]+",ou=people,dc=zkm,dc=de";
var agriCN = "";
try {
agriCN =
srcLdap.attribute(membersSrcDnString,"cn").get(0);
} catch (e) {
continue;
}
var destMembersDn
="CN="+agriCN+",cn=users,dc=zkmdom,dc=zkm,dc=de";
memberUidValues.push(destMembersDn);
}
memberUidValues
]]>
</string>
</forceValues>
</dataset>
-------------------------------
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users
--
Uwe Faber
Leiter | Head of Department
EDV-Abteilung | IT-Department
/////// / |< ||| | ZKM | Zentrum für Kunst und Medien Karlsruhe
/////// / |< ||| | ZKM | Center for Art and Media Karlsruhe
/////// / |< ||| | ZKM | Centre d'Art et des Médias Karlsruhe
Lorenzstr. 19, D-76135 Karlsruhe
Tel +49-(0)721-8100-1112, Fax +49-(0)721-8100-1229
E-Mail: [email protected]
www.zkm.de
ZKM Karlsruhe <http://www.zkm.de>
Aktuelle Ausstellungen <http://www.zkm.de/ausstellungen> – current
exhibitions <http://www.zkm.de/en/exhibitions>
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users