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

Reply via email to