From fc62c135c877fd9b731b3a275b78ba30e29c4e08 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Aug 17 2015 15:50:34 +0000 Subject: winsync-migrate: Add warning about passsync https://fedorahosted.org/freeipa/ticket/5162 Reviewed-By: Martin Babinsky --- diff --git a/ipaserver/install/ipa_winsync_migrate.py b/ipaserver/install/ipa_winsync_migrate.py index cbe0684..c327e50 100644 --- a/ipaserver/install/ipa_winsync_migrate.py +++ b/ipaserver/install/ipa_winsync_migrate.py @@ -302,6 +302,12 @@ class WinsyncMigrate(admintool.AdminTool): object_container_dn=DN(api.env.container_selinux, api.env.basedn), ) + def warn_passsync(self): + self.log.warning("Migration completed. Please note that if PassSync " + "was configured on the given Active Directory server, " + "it needs to be manually removed, otherwise it may try " + "to reset password for accounts that are no longer existent.") + @classmethod def main(cls, argv): """ @@ -343,3 +349,5 @@ class WinsyncMigrate(admintool.AdminTool): self.migrate_hbac_memberships(entry) self.migrate_selinux_memberships(entry) self.ldap.delete_entry(entry) + + self.warn_passsync()