Title: #2317: [Backport][ipa-4-6] 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-6 is required.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/2317/head:pr2317
git checkout pr2317