Hi Soisik, now I can see something !! Perfect !
There seems to be an error or mismatch in the mainIdentifier, but now I'm able to analyze it. Thank you so much :-) ! Regards Martin Von: "Soisik Froger" <[email protected]> An: [email protected] Datum: 05.11.2018 16:08 Betreff: Re: [lsc-users] Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: NIS plugin and filtering Gesendet von: "lsc-users" <[email protected]> On 05/11/2018 15:33, Martin Röh wrote: > > As far as I can see I have no filter in my lsc.xml and the attribute "gecos" I try to sync is different (I think). > First of all make sure these values are different ; LSC won't detect any need for change if values are identical. > In fact some debug logging (eg. showing the status of the nis connection, show the uid attribute from nis, etc) would be very helpful, but the debugging functions from lsc do not show such information and I don't have the java experience to implement it on my own in the xml file. To make sure that entry uid "mar" is detected and that values of attribute "gecos" on both sides do not match, you can use this code as Clement suggested earlier : <update><![CDATA[rjs: var update = false; java.lang.System.out.println("checking UID -> " + srcBean.getDatasetFirstValueById("uid")); if ( srcBean.getDatasetFirstValueById("uid").equals("mar")) { java.lang.System.out.println("Found UID mar, compare gecos values -> " + srcBean.getDatasetFirstValueById("gecos") + " vs " + dstBean.getDatasetFirstValueById("gecos")); update = true; } update; ]]></update> -- Soisik Froger 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

