When ipa user-find hits the searchrecordslimit, it will not indicate to user/admin in any way that there might be some records beyond what is shown:
# ipa user-find --------------- 3 users matched --------------- [...] ---------------------------- Number of entries returned 3 ---------------------------- # ipa config-mod --searchrecordslimit=2 [...] Search size limit: 2 [...] # ipa user-find --------------- 2 users matched --------------- [...] ---------------------------- Number of entries returned 2 ---------------------------- #
In these cases, the output should probably include a note that the resulting record set was limited. Especially confusing are the "matched" vs. "returned" lines which somehow hint that when limit was reached, the numbers would differ (3 matched, 2 returned).
The following output would be helpful
# ipa user-find ----------------------------------------------------------------- 3 users matched (search result limited due to searchrecordslimit) ----------------------------------------------------------------- [...] ---------------------------- Number of entries returned 2 ---------------------------- #
or if getting the total number of users is computationally intensive, at least
# ipa user-find ---------------------------------------------- 2 users matched (searchrecordslimit 2 reached) ---------------------------------------------- [...] ---------------------------- Number of entries returned 2 ---------------------------- #
would point the user at the limit that they might want to explore increasing.
Similar information should be shown for all searches and for the time limit as well.
Duplicate of #4022?
Metadata Update from @adelton: - Issue assigned to mbasti - Issue set to the milestone: 0.0 NEEDS_TRIAGE
Login to comment on this ticket.