Thank You Very Much Clement for your help. I will make the proper changes and let you know.
Regards, Robert On Fri, Apr 14, 2017 at 6:00 AM, <[email protected]> wrote: > Send lsc-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lsc-users digest..." > > > Today's Topics: > > 1. Re: how to conditionally run a task (Clément OUDOT) > 2. Re: LSC MySyncTask Issue. (Clément OUDOT) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 13 Apr 2017 18:08:58 +0200 > From: Clément OUDOT <[email protected]> > To: [email protected] > Subject: Re: [lsc-users] how to conditionally run a task > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=utf-8; format=flowed > > > > Le 13/04/2017 à 15:34, Roberto Benedetti a écrit : > > Hello to everyone. > > > > we make use of LSC for syncing an LDAP server (destination) based on > data on a RDBMS (source). > > > > we observed that, if the "get<objectClass>List" query returns no data > rows, all records get removed from LDAP. > > we had expected that run to be skipped or, at least, this is not our > desired behaviour. is there a way (a trick or a parameter) to achieve this > goal? > > > > we wish to protect ourselves from catastrophic massive delete operations > in LDAP if something goes wrong with procedures that write to the database. > > > > could you please elaborate on this and/or provide techniques to get this > result? > > Hello Roberto, > > one solution is to run the connector in dry-run mode (option -n), get > number of expected modifications, and only launch connector if this > number is not to high. > > > -- > Clément OUDOT > Consultant en logiciels libres, Expert infrastructure et sécurité > Savoir-faire Linux > 137 boulevard de Magenta - 75010 PARIS > Blog: http://sflx.ca/coudot > > > > ------------------------------ > > Message: 2 > Date: Thu, 13 Apr 2017 18:12:13 +0200 > From: Clément OUDOT <[email protected]> > To: [email protected] > Subject: Re: [lsc-users] LSC MySyncTask Issue. > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=utf-8; format=flowed > > > > Le 13/04/2017 à 17:50, Robert Czipo a écrit : > > Hello Everyone, > > > > I'm hoping someone can help me out here. I'm trying to Sync users from > > one ldap to another. and I keep getting this error. or my life I can't > > figure out where to fix the issue. I'll include the logfile and the > > lsc.xml. > > > > Hello Robert, > > This error is linked to a bad filter with unbalanced parenthesis. This > is the case in your getAllFilter which a two )) at the end for only one > ( at the beginning. > > > Next objectClass=uid will never work, as uid is not a valid objectClass > but an attribute name. > > You also have a dataset that read sAMAccounName attribute but you don't > read this attribute in source, so you will never be able to get its value. > > > > -- > Clément OUDOT > Consultant en logiciels libres, Expert infrastructure et sécurité > Savoir-faire Linux > 137 boulevard de Magenta - 75010 PARIS > Blog: http://sflx.ca/coudot > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > lsc-users mailing list > [email protected] > https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users > > ------------------------------ > > End of lsc-users Digest, Vol 87, Issue 2 > **************************************** > -- ------------------------------ [image: UNFPA] <http://www.unfpa.org/> <https://www.facebook.com/UNFPA> <https://twitter.com/unfpa> <https://instagram.com/unfpa/> <https://www.linkedin.com/company/unfpa> <https://www.youtube.com/user/unfpa> <https://plus.google.com/+unfpa/posts> <http://visitor.r20.constantcontact.com/manage/optin?v=001-YNFZmXHhSP25d9kiBTi0ZxtEwaeIcM-UeLsaXPKYoHs5SAGE1WbNakIrfhkc_3wTTkXkKXbHJpBnXtbqkTATg_O174jFAyLQdNkQkPKQAk=&MERGE0=>
_______________________________________________________________ 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

