[PATCH] samba-tool drs showrepl --summary
Andrew Bartlett
abartlet at samba.org
Sun Jun 10 11:56:30 UTC 2018
On Sun, 2018-06-10 at 06:41 +0200, Andrew Bartlett via samba-technical
wrote:
> On Sun, 2018-06-10 at 09:08 +1200, Douglas Bagnall via samba-technical
> wrote:
> > A while ago I added a --json option to make `samba-tool drs showrepl`
> > produce machine readable output. This time I'm aiming for *human*
> > readable output with a --summary option. It differs from what is now
> > called --classic (still the default) in that it doesn't go on and on
> > describing things that are perfectly normal. When it finds a problem
> > it reverts to verbosity in the classic style.
> >
> > A typical conversation with it should look like this:
> >
> > $ samba-tool drs showrepl --summary $DC $CREDS
> > [ALL GOOD]
> > $
> >
> > Soon I'll have a patch for `samba-tool drs showrepl --global` which
> > looks around the network and tries to verify that it is in good
> > health.
> >
> > cheers,
>
> Thanks Douglas,
>
> In time we should make this the default, it is much more useful.
>
> Reviewed-by: Andrew Bartlett <abartlet at samba.org>
>
> pushed to autobuild
The tests for --summary failed, so I've tried without those. I'll mail
you the full output directly.
Also, if you could make it use self.runsubcmd() to call directly into
the samba-tool code rather than re-exec()ig python etc that would be
good.
Sorry,
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical
mailing list