Web lists-archives.com

Re: [Samba] Replication, automatic checks




Or ... 

https://github.com/thctlo/samba4/blob/master/samba-check-db-repl.sh 


Script explains itself, just read the content. 
You need to configure this script first to run it.


Greetz, 

Louis

> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens 
> Rowland Penny via samba
> Verzonden: woensdag 30 januari 2019 9:06
> Aan: samba@xxxxxxxxxxxxxxx
> Onderwerp: Re: [Samba] Replication, automatic checks
> 
> On Tue, 29 Jan 2019 18:42:26 -0800
> Gregory Sloop via samba <samba@xxxxxxxxxxxxxxx> wrote:
> 
> > So, is there any way to do replication checks via cron [or similar]
> > and alert if any replication problems exist? [I'd love to know
> > there's a replication problem long before it becomes a career ending
> > experience! :) ]
> > 
> > I'm running 4.7.6 - which may limit my options - but a quick search
> > didn't dig up anything I could find.
> > 
> > TIA 
> > -Greg
> 
> Yes, there is a way, it is called 'write your own script around
> samba-tool ldapcmp' and call this script with cron ;-)
> 
> Rowland
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba