2015-02-26 17:40 GMT+01:00 Jephte Clain <[email protected]>: > 2015-02-26 17:00 GMT+04:00 Clément OUDOT <[email protected]>: >> 2015-02-26 13:28 GMT+01:00 Jephte Clain <[email protected]>: >>> Le 26/02/2015 12:53, Clément OUDOT a écrit : >>> >>>> 2015-02-25 21:12 GMT+01:00 Jephte Clain <[email protected]>: >>>>> >>>>> hello, >>>>> >>>>> I have a lsc script running as a service, in asynchronous mode. >>>>> because of latency (or ghosts? who knows) when VM backups are ran at >>>>> night, the connection with the LDAP server seems to be broken. >>>>> >>>>> every morning, lsc no longer synchronize because somehow it does not >>>>> detect the link have been dead, and no longer receive notification of >>>>> objects modifications >>>>> >>>>> I "solved" the problem by restarting lsc with a cron every night after >>>>> the backups >>>>> >>>>> but I wonder if it is possible for lsc to detect that a long running >>>>> search is no longer valid, and restart it? or maybe configure it to >>>>> restart the search at specified interval? >>>>> >>>>> One could say this is no big deal: just restart lsc every day and be >>>>> done with it, but I feel like I don't solve the problem, just work >>>>> around it. >>>>> >>>>> thanks in advance. best regards, >>>>> >>>> >>>> When the source connection is lost, LSC stops. This is a hardcoded >>>> behavior, because we can't be sure that we don't lost entries when >>>> reconnecting the source LDAP. >>> >>> >>> Is it possible to give the choice of the behavior, only for the source >>> search? >>> >> >> No it is not configurable. > > I know, you said so in the previous mail :-) > Ma question was: could you plan to add this feature? If not, do you > accept patches?
Of course we accept patches, this is a free software :) You can open an issue here: http://tools.lsc-project.org/projects/show/lsc Clément. _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

