diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-04-11 18:13:16 +1000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-05-16 19:02:02 +0200 |
commit | 9c5756c077896e6a3ff8e610acf706f203e4dede (patch) | |
tree | 99c57f321b03fb2fc0d613dbbfd7d2110a13e0c3 | |
parent | 1165776d861e8e4f2fe26dcaf1e9dabdcc0a4179 (diff) | |
download | samba-9c5756c077896e6a3ff8e610acf706f203e4dede.tar.gz samba-9c5756c077896e6a3ff8e610acf706f203e4dede.tar.bz2 samba-9c5756c077896e6a3ff8e610acf706f203e4dede.zip |
python-samba-tool domain classicupgrade: Correct message about re-promoting BDCs
Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | python/samba/upgrade.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |