freeipa / ansible-freeipa

Ansible roles and modules for FreeIPA
GNU General Public License v3.0
495 stars 233 forks source link

hbacrule: Fix use of builtin sudo hbacsvcgroup #1155

Closed t-woerner closed 12 months ago

t-woerner commented 1 year ago

hbacsvcgroup names are converted to lower case while creation with hbacsvcgroup_add.

The hbacsvcgroup for sudo is builtin with the name "Sudo" though. This breaks the lower case comparison. Therefore all memberservice_hbacsvcgroup items are converted to lower case if "Sudo" is in the list.