summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-28 16:45:22 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-03-29 00:00:22 +0200
commit3600f2e250b7e7605155402a4390066ea7b08fdd (patch)
treecb4b447ca071cd9a2369f78b153024a4fe326bb0
parentb32f155bae384bd3ae1d9ba9f246a0eca18a2511 (diff)
downloadsamba-3600f2e250b7e7605155402a4390066ea7b08fdd.tar.gz
samba-3600f2e250b7e7605155402a4390066ea7b08fdd.tar.bz2
samba-3600f2e250b7e7605155402a4390066ea7b08fdd.zip
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 <abartlet@samba.org>
-rw-r--r--source4/scripting/python/samba/netcmd/fsmo.py4
1 files changed, 2 insertions, 2 deletions
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,