Title: #2316: [Backport][ipa-4-5] Clear next field when returnining list elements in
This PR was opened automatically because PR #2283 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/2316/head:pr2316
git checkout pr2316