From 3600f2e250b7e7605155402a4390066ea7b08fdd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 28 Mar 2011 16:45:22 +1100 Subject: s4-fsmo: samba-tool fsmo transfer now gets full error code We now wait for the transfer to succeed or fail Pair-Programmed-With: Andrew Bartlett --- source4/scripting/python/samba/netcmd/fsmo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/scripting/python') diff --git a/source4/scripting/python/samba/netcmd/fsmo.py b/source4/scripting/python/samba/netcmd/fsmo.py index ff33491194..2aa1739b56 100644 --- a/source4/scripting/python/samba/netcmd/fsmo.py +++ b/source4/scripting/python/samba/netcmd/fsmo.py @@ -92,7 +92,7 @@ all=all of the above"""), samdb.modify(m) except LdbError, (num, msg): raise CommandError("Failed to initiate transfer: %s" % msg) - print("Scheduled FSMO transfer - use 'fsmo show' and 'drs showrepl' for result") + print("FSMO transfer successful") def seize_role(self, role, samdb, force): @@ -134,7 +134,7 @@ all=all of the above"""), samdb.modify(m) except LdbError, (num, msg): raise CommandError("Failed to initiate role seize: %s" % msg) - print("Scheduled FSMO transfer - use 'fsmo show' and 'drs showrepl' for result") + print("FSMO transfer successful") def run(self, subcommand, force=None, url=None, role=None, -- cgit