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

_______________________________________________________________
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