[Freeipa-devel] [PATCH] 7 Ignore srchost option in hbactest

Alexander Bokovoy abokovoy at redhat.com
Thu Jan 5 16:40:33 UTC 2012


On Thu, 05 Jan 2012, Ondrej Hamada wrote:
> https://fedorahosted.org/freeipa/ticket/2085
> 
> New version of SSSD begins ignoring sourcehost value of HBAC rules by
> default. In order to match this behaviour the sourcehost option in
> hbactest is optional now, but the value of sourcehost is ignored in all
> rules. Every rule's sourcehost value is set to 'ALL' what turns sourchost
> value comparation off. For every such a rule warning is displayed to
> inform the user about changes.
> 
> Also the unit tests for hbactest plugin were updated. Every test was
> doubled. The second ones test the plugin without sourcehost option. They
> are supposed to have the same result.
Looks OK for me. One possibility to enhance the tests is to verify 
that sourcehost-based version also checks warning being set to 
something other than None.

ACK
-- 
/ Alexander Bokovoy




More information about the Freeipa-devel mailing list