Title: #1022: Backport PR 989 to ipa-4-5
This PR was opened automatically because PR #989 was pushed to master and backport to
ipa-4-5 is required.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1022/head:pr1022
git checkout pr1022