From 9c5756c077896e6a3ff8e610acf706f203e4dede Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 11 Apr 2013 18:13:16 +1000 Subject: python-samba-tool domain classicupgrade: Correct message about re-promoting BDCs Reviewed-by: Stefan Metzmacher --- python/samba/upgrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/samba/upgrade.py b/python/samba/upgrade.py index 804ef506da..5eded39773 100644 --- a/python/samba/upgrade.py +++ b/python/samba/upgrade.py @@ -699,7 +699,7 @@ def upgrade_from_samba3(samba3, logger, targetdir, session_info=None, user = s3db.getsampwnam(username) acct_type = (user.acct_ctrl & (samr.ACB_NORMAL|samr.ACB_WSTRUST|samr.ACB_SVRTRUST|samr.ACB_DOMTRUST)) if acct_type == samr.ACB_SVRTRUST: - logger.warn(" Demoting BDC account trust for %s, this DC must be elevated to an AD DC using 'samba-tool domain promote'" % username[:-1]) + logger.warn(" Demoting BDC account trust for %s, this DC must be elevated to an AD DC using 'samba-tool domain dcpromo'" % username[:-1]) user.acct_ctrl = (user.acct_ctrl & ~samr.ACB_SVRTRUST) | samr.ACB_WSTRUST elif acct_type == samr.ACB_DOMTRUST: -- cgit