[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: SyncRepl on Request?

On Friday 13 April 2007, Hadmut Danisch wrote:
> Hi,
> I'd like to use SyncReplication on some Notebooks with local ldap
> servers to be updated whenever they connect to the Home LAN.
> Unfortunately, the syncrepl directive uses a fixed time interval.
> I would need a way to run the replication on request and only on
> request, i.e.
> - run when the notebook is connected to the home lan, whatever
>   time
> - do not run when the notebook is not connected to the home lan
> The best way would be to run replication only when triggered through
> an external command.

I assume you are just trying to solve the "authenticate to laptop when not 
connected" problem.

I usually just use pam_ccreds and nss_updatedb/nss_db for this.

However, have you tried using *both* interval and retry in refreshAndPersist 
mode? I think it should work sufficiently (except for unnecessary network 
connection attempts).


Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader

Attachment: pgpoJNtldjqYo.pgp
Description: PGP signature