python-samba-tool domain classicupgrade: Actually Skip domain trust accounts
authorAndrew Bartlett <abartlet@samba.org>
Wed, 10 Apr 2013 23:33:16 +0000 (09:33 +1000)
committerStefan Metzmacher <metze@samba.org>
Thu, 16 May 2013 17:02:01 +0000 (19:02 +0200)
Reviewed-by: Stefan Metzmacher <metze@samba.org>
python/samba/upgrade.py

index df5ab41021347ea73014e6818c0de28923f4ae09..804ef506da406009e59dd19d5f2874f9c5673617 100644 (file)
@@ -704,6 +704,7 @@ def upgrade_from_samba3(samba3, logger, targetdir, session_info=None,
 
         elif acct_type == samr.ACB_DOMTRUST:
             logger.warn("  Skipping inter-domain trust from domain %s, this trust must be re-created as an AD trust" % username[:-1])
+            continue
 
         elif acct_type == (samr.ACB_WSTRUST) and username[-1] != '$':
             logger.warn("  Skipping account %s that has ACB_WSTRUST (W) set but does not end in $.  This account can not have worked, and is probably left over from a misconfiguration." % username)