Title: #5684: [Backport][ipa-4-9] sudorule: reduce number of LDAP searches during
This PR was opened automatically because PR #5668 was pushed to master and backport to
ipa-4-9 is required.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5684/head:pr5684
git checkout pr5684