Hi Clement, thank you for your hint, but indeed I only want an update.
For test purpose I also set the condition for a create, but nothing changes with a dry run. Regards Martin Von: "Clément OUDOT" <[email protected]> An: [email protected] Datum: 05.11.2018 09:37 Betreff: Re: [lsc-users] Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: NIS plugin and filtering Gesendet von: "lsc-users" <[email protected]> Le 05/11/2018 à 07:32, Soisik Froger a écrit : > On 02/11/2018 12:19, Martin Röh wrote: >> <update><![CDATA[rjs: >> var update = false; >> if ( srcBean.getDatasetFirstValueById("uid") == "mar" ) { >> update = true; >> } >> update; >> ]]></update> > Hi Martin, > > In java, using "==" on a string will compare the memory address of the object. > > To compare chars, your have to use equals method, eg srcBean.getDatasetFirstValueById("uid").equals("mar") Check also that you really want an update condition and not a create condition. The update condition will only be tested if LSC matches an entry in source and destination. -- Clément Oudot | Identity Solutions Manager [email protected] Worteks | https://www.worteks.com _______________________________________________________________ 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
_______________________________________________________________ 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

