mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-07-31 08:38:13 -05:00
When the command ipa-adtrust-install --add-agents is run, it executes remotely the command trust_enable_agent. This command does not require the package ipa-server-trust-ad to be installed on the remote node, but fails if it's not the case because dbus is not imported. Need to move the "import dbus" outside of the try/except related to dcerpc import. Related: https://pagure.io/freeipa/issue/7600 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>