Title: #5743: [Backport][ipa-4-9] Add max/min safe integer
This PR was opened automatically because PR #5709 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/5743/head:pr5743
git checkout pr5743