samba-tool: Add success message to samba-tool drs replicate --local
authorAndrew Bartlett <abartlet@samba.org>
Fri, 8 Jul 2016 00:53:09 +0000 (12:53 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 8 Jul 2016 08:01:20 +0000 (10:01 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
python/samba/netcmd/drs.py

index 230dd33bad08252c39f839dff713b2535f7ba2c2..ca5417bcefaae8f656f95f80c26fc84565e642b1 100644 (file)
@@ -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):