Skip to content
  1. Nov 24, 2021
  2. Nov 12, 2021
  3. Nov 03, 2021
    • Rafael Guterres Jeffman's avatar
      sudorule: Fix runas with external users and groups. · 22f31d02
      Rafael Guterres Jeffman authored
      When setting 'runasuser' or 'runasgroup' for a sudorule, either IPA or
      external users and groups can be used, but only IPA users and groups
      were being searched for when modifying the attributes, making this task
      not idempotent if an external group or user was used..
      
      This patch fixes this issue by comparing users and groups to the IPA
      and external setting.
      
      The IPA CLI commands are slightly confusing, as the sudorule-add and
      sudorule-mod display separate options for internal and external users
      and groups, but these options are deprecated and do not work anymore,
      in favor of sudorule-add-runasuser and sudorule-add-runasgroup, which
      don't diferentiate between internal and external users, from the CLI
      user perspective.
      22f31d02
    • Thomas Woerner's avatar
      Merge pull request #667 from rjeffman/fix_service_principal_idempotent_issue · 5e9a2e8c
      Thomas Woerner authored
      ipaservice: Fix idempotent behavior for principal aliases.
      5e9a2e8c
  4. Oct 26, 2021
  5. Oct 25, 2021
    • Rafael Guterres Jeffman's avatar
      ipaservice: Fix idempotent behavior for principal aliases. · f4383140
      Rafael Guterres Jeffman authored
      When creating the lists to add/remove principal aliases, if the realm
      was not specified, the alias would be used as it did not matched the
      existing one, which has the realm part.
      
      This patch fixes the add/del list creation by adding the current API
      realm to each alias that does not have the realm part and then use
      this modified list to be compared against the existing principal list.
      
      This change also allows the use of the whole list in a single call to
      the IPA API to add/remove the principals, instead of a call for every
      one item in the list.
      f4383140
  6. Oct 12, 2021
  7. Oct 11, 2021
  8. Oct 04, 2021
  9. Oct 01, 2021