Skip to content
  1. Feb 12, 2024
  2. Feb 10, 2024
    • Rafael Guterres Jeffman's avatar
      ipahostgroup: Fix idempotence issues due to capitalization · 22401d18
      Rafael Guterres Jeffman authored
      ipahostgroup parameters 'host', 'hostgroup', 'membermanager_user' and
      'membermanager_group' must be compared in a case insensitive manner
      and stored as lower case strings.
      
      This patch fixes the comparison and storage of this parameters, and
      change the handling of members to use the same structure as in newer
      modules.
      
      Two new tests files were added:
      
          tests/hostgroup/test_hostgroup_case_insensitive.yml
          tests/hostgroup/test_hostgroup_membermanager_case_insensitive.yml
      22401d18
  3. Feb 09, 2024
  4. Feb 07, 2024
  5. Feb 06, 2024
    • Rafael Guterres Jeffman's avatar
      ipahbacrule: Fix handling of hbacsvcgroup in members · b87b346a
      Rafael Guterres Jeffman authored
      FreeIPA provides a default hbacsvcgroup named "Sudo", with capital 'S',
      that is different from every other hbacsvcgroup, which are all
      represented by lower case letters.
      
      As data from IPA API was not modified, this causes an idempotence error
      when using different capitalization with the 'hbacsvcgroup' parameter.
      
      This patch fixes the issue by using the CaseInsensitive comparator to
      create the hbacsvcgroup list.
      
      Tests were update to make sure a regression is not included in the
      future.
      b87b346a
    • Thomas Woerner's avatar
      ipaclient: Enable SELinux for SSSD · e92db5c5
      Thomas Woerner authored
      This is "ipa-client-install: enable SELinux for SSSD"
      https://github.com/freeipa/freeipa/pull/6978 for ansible-freeipa:
      
      For passkeys (FIDO2) support, SSSD uses libfido2 library which needs
      access to USB devices. Add SELinux booleans handling to ipa-client-install
      so that correct SELinux booleans can be enabled and disabled during
      install and uninstall. Ignore and record a warning when SELinux policy
      does not support the boolean.
      
      Fixes: https://pagure.io/freeipa/issue/9434
      e92db5c5
  6. Jan 25, 2024
  7. Jan 23, 2024
    • Rafael Guterres Jeffman's avatar
      ipasudorule: Allow setting groups for runasuser. · 1fde1764
      Rafael Guterres Jeffman authored
      On IPA CLI sudorule-add/del-runasuser accept 'group' as a parameter,
      and this option was missing in ansible-freeipa ipasudorule module.
      
      This patch adds a new parameter 'runasuser_group' to allow setting
      Groups of RunAs Users, as allowed by CLI and WebUI.
      
      New example playboks can be found at:
      
          playbooks/sudorule/ensure-sudorule-runasusesr-group-is-absent.yml
          playbooks/sudorule/ensure-sudorule-runasusesr-group-is-present.yml
      1fde1764
  8. Dec 21, 2023
  9. Dec 20, 2023
  10. Dec 19, 2023
  11. Dec 15, 2023
  12. Dec 14, 2023
  13. Dec 08, 2023
  14. Dec 07, 2023