Created attachment 1785178 [details]
Patch to remove #ifdef DNA_ENABLE_INTERVAL
This bug was initially created as a copy of Bug #1938239
I am copying this bug because:
FreeIPA needs the feature in Fedora for upstream development and testing
IdM is working on central management of subordinate ids for RHEL 8.5. The feature is also known as subid, subuid, or subgid, man page subuid(5). The feature is important for user namespace mapping in containers. Several major customers have requested central management of subids in LDAP.
Subids are blocks of uids or gids that are owned by a user. Typical block size is 65,536 ids per user. IdM would like to use 389-DS's DNA plugin for automatic allocation and assignment of subids. The DNA plugin only supports increments by one. I like to request an enhancement for DNA plugin.
My initial feature request on RHEL ticket #1938239 was more complicated. In the first implementation FreeIPA only needs fixed-size subid intervals. Therefore it is sufficient to enable the existing interval feature that is currently protected by #ifdef DNA_ENABLE_INTERVAL.
I have created PRs to enable DNA interval on Fedora. Mark has merged my PRs and will create builds later today.
FEDORA-2021-3ea3204efb has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-3ea3204efb
FEDORA-2021-3ea3204efb has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.