# ipa config-mod --help
says among others
--searchrecordslimit=INT Maximum number of records to search (-1 is unlimited)
However, that same value -1 cannot be used with *-find:
# ipa host-find --raw --pkey-only --sizelimit=-1 ipa: ERROR: invalid 'sizelimit': must be at least 0
And indeed, 0 works and seems to override the ipasearchrecordslimit default. But then,
# ipa config-mod --searchrecordslimit=0
seems to make the search limit unlimited, just like -1.
I'd recommend either promoting 0 in both places (including {{{ipa host-find --help}}} which currently does not tell you how to disable the limit) or enabling --sizelimit-1 as valid value.
attachment freeipa-rga-0053-Standardize-minvalue-for-ipasearchrecordlimit-and-si.patch
During processing of remaining tickets in 4.2 Backlog, this ticket was found as suitable to be fixed in the nearest bugfixing branch - which is 4.2.x.
FreeIPA 4.2.1 was released, moving to 4.2.x.
master:
ipa-4-2:
Metadata Update from @adelton: - Issue assigned to rga - Issue set to the milestone: FreeIPA 4.2.2
Login to comment on this ticket.