Title: #5048: [Backport][ipa-4-8] Improve performance of ipa-server-guard
This PR was opened automatically because PR #5045 was pushed to master and backport to
ipa-4-8 is required.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5048/head:pr5048
git checkout pr5048