Skip to content
  1. May 12, 2020
  2. May 11, 2020
    • Thomas Woerner's avatar
      ipahost: Honour update_password also for random · b3d5b32e
      Thomas Woerner authored
      If random is enabled and update_password is limited to "create_only", the
      random password may only be changed if the host does not exist yet.
      
      Additionally the generation of the random password will fail, if the host
      is already enrolled if update_password is "always" (default value). An
      error will be reported early in this case now.
      
      The command host_show is now used instead of host_find, as `has_password`
      and `has_keytab` are only returned by host_show, but not by host_find. The
      find_host function has been adapated for this change.
      
      Resolves: #253 (ipahost is not idempotent)
      b3d5b32e
  3. May 07, 2020
  4. May 06, 2020
    • Thomas Woerner's avatar
      Do not remove member attributes while updating others · 457050c6
      Thomas Woerner authored
      Because of a missing check member attributes (for use with action: member)
      are cleared when a non-member attribute is changed. The fix simply adds a
      check for None (parameter not set) to gen_add_del_lists in
      ansible_freeipa_module to make sure that the parameter is only changed if
      it should be changed.
      
      All places where the add and removal lists have been generated manually
      have been changed to also use gen_add_del_lists.
      
      Resolves: #252 (The "Manager" attribute is removed when updating any user
                      attribute)
      457050c6
  5. May 04, 2020
  6. Apr 30, 2020
  7. Apr 29, 2020
  8. Apr 26, 2020
  9. Apr 22, 2020
  10. Apr 16, 2020
    • Thomas Woerner's avatar
      ansible_freeipa_module: Set KRB5CCNAME for api_connect (non root) · 871cce52
      Thomas Woerner authored
      In the case that the admin password has been set and become was not set
      the call to backend.connect in api_connect failed. The solution is simply
      to set os.environ["KRB5CCNAME"] in temp_kinit after kinit_password has
      been called using the temporary ccache. os.environ["KRB5CCNAME"] is not
      used automatically by api.Backend.[ldap2,rpcclient].connect. Afterwards
      os.environ["KRB5CCNAME"] is unset in temp_kdestroy if ccache_name is not
      None.
      
      Fixes: #249 (Kerberos errors while using the modules with a non-sudoer user)
      871cce52
  11. Apr 07, 2020
  12. Apr 02, 2020
  13. Mar 30, 2020
  14. Mar 26, 2020
  15. Mar 25, 2020
  16. Mar 24, 2020
  17. Mar 20, 2020
  18. Mar 18, 2020