From: Andrew Bartlett Date: Fri, 8 Jul 2016 00:53:09 +0000 (+1200) Subject: samba-tool: Add success message to samba-tool drs replicate --local X-Git-Tag: tdb-1.3.10~453 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae2bd0012cdd4ad4cfa14773a24e8dcbacd2b300;p=thirdparty%2Fsamba.git samba-tool: Add success message to samba-tool drs replicate --local Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider --- diff --git a/python/samba/netcmd/drs.py b/python/samba/netcmd/drs.py index 230dd33bad0..ca5417bcefa 100644 --- a/python/samba/netcmd/drs.py +++ b/python/samba/netcmd/drs.py @@ -276,6 +276,8 @@ def drs_local_replicate(self, SOURCE_DC, NC): raise CommandError("Error replicating DN %s" % NC, e) self.samdb.transaction_commit() + self.message("Replicate from %s to %s was successful." % (SOURCE_DC, self.local_samdb.url)) + class cmd_drs_replicate(Command):