#9486 hbactest does not display messages, like search truncated
Closed: fixed by frenaud. Opened by rcritten.

Issue

hbactest does an internal search for hbacrules which is limited by the global or user-provided sizelimit. No notification to the user is provided if the number of records discovered is greater than this limit.

Steps to Reproduce

  1. Add 5 empty hbacrules (ipa hbacrule-add test1, ...)
  2. ipa hbactest --user tuser1 --host $FQDN --service sshd --sizelimit 3

Actual behavior

There is no mention that the size limit was exceeded

Expected behavior

ipa: WARNING: Search result has been truncated: Configured size limit exceeded
... rest of the output ...


Metadata Update from @rcritten:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-12780

https://github.com/freeipa/freeipa/pull/7094

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-12780, https://issues.redhat.com/browse/RHEL-19748 (was: https://issues.redhat.com/browse/RHEL-12780)

master:

  • 48846e98e5e988d600ddf81c937f353fcecdea1a hbactest was not collecting or returning messages
  • d1e09c68af8ac77f656dd639af5d9a7f07c41f9d ipatests: Verify that hbactest will return messages

ipa-4-11:

  • 9e950f89bedeb83267369d60b4a83c77f89e71d6 hbactest was not collecting or returning messages
  • e8810696a38b70af286a2a2aae464ba4294e1fb5 ipatests: Verify that hbactest will return messages

ipa-4-10:

  • e619ee20b8c7a6daeafc5fb0398c9ed69736a3a1 hbactest was not collecting or returning messages
  • 5bae919c22b767d5da27ee7e7104a1e1fcadf187 ipatests: Verify that hbactest will return messages

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

ipa-4-9:

  • e4c7c989d0ff004bfc38f955219df391ad78d350 hbactest was not collecting or returning messages
  • e5579fb46729aaf82c9aa7db754eb3a5dd4e555a ipatests: Verify that hbactest will return messages
Metadata