2017-11-08 16:58 GMT+01:00 Maxime Pelletier <[email protected]>:

> Too bad that there is no built-in function. I think that it could be an
> interesting feature J
>

Indeed, you can open a feature request for this :
https://github.com/lsc-project/lsc

>
> Would it be possible for you to share how you do this exactly?
>


You run for example : lsc -c -n

(-n is the dry-run mode)

It will print how many entries should have been modified. Just grep
this status line in a script and then launch lsc -c if this is ok.


> And regarding the <delete> condition, would it be possible to set some kind
> of global variable when starting the synchronization (ex : sourceEmpty =
> true/false) and then check this variable for each entry?

Not sure this is the best. We need maybe a global option that allows
to sync even if there is no entry in source. This should not be
allowed by default.


Clément.
_______________________________________________________________
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