[lsc-users] Preventing Accidental Deletions

Domenic Silletti domaotc at yahoo.com
Tue Jan 8 19:22:54 CET 2013


Thanks Clément!
I had NO conditions in my lsc.xml so I added the lines below and it works as expected:
<conditions>
 <create>true</create>
 <update>true</update>
 <delete>false</delete>
</conditions>
--- On Tue, 1/8/13, Clément OUDOT <clem.oudot at gmail.com> wrote:

From: Clément OUDOT <clem.oudot at gmail.com>
Subject: Re: [lsc-users] Preventing Accidental Deletions
To: "Domenic Silletti" <domaotc at yahoo.com>
Cc: lsc-users at lists.lsc-project.org
Date: Tuesday, January 8, 2013, 9:41 AM



2013/1/8 Domenic Silletti <domaotc at yahoo.com>

Hi,
Thanks to this forum I am able to successfully synchronize my Openldap to Active Directory. My only concern now is I want to prevent deletions on the off chance that someone runs lsc with the "-c all" option (I have several users that I had to truncate their UIDs so that I could assign them 20 character sAMAccountnames and I don't want them deleted out of AD). Can I put a line in the lsc.xml to prevent this?



Hi Domenic,

you just have to use the conditions. Set delete condition to false, and no entry will be deleted by LSC, even if it is run with the -c option.



Clément.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lsc-project.org/pipermail/lsc-users/attachments/20130108/78ecb3ca/attachment.htm>


More information about the lsc-users mailing list