Skip to content
Snippets Groups Projects
  1. Jun 28, 2024
  2. Jun 26, 2024
    • Thomas Woerner's avatar
      permission: Fix idempotency issues for DN parameters · 173acf28
      Thomas Woerner authored
      The parameters
      
      - subtree (ipapermlocation)
      - target (ipapermtarget)
      - targetto (ipapermtargetto)
      - targetfrom (ipapermtargetfrom)
      
      have not been idempotent as the result returned from permission_show was
      a DN and not a string.
      
      The find_permission function has been exetended to convert the values
      for these parameters to strings.
      
      Fixes: #1257
      173acf28
  3. Jun 25, 2024
    • Thomas Woerner's avatar
      ansible_freeipa_module: Fix errors in batch mode · 39ba2257
      Thomas Woerner authored
      The error string returned by execute_ipa_commands in batch mode
      additionally contains the whole parameter list for the command. This is
      different to non batch mode execution and breaks tests that are checking
      the returned error message.
      
      A left over debug message also have been removed from the error
      processing.
      39ba2257
    • Thomas Woerner's avatar
      ipauser: Use new convert_input_certificates · b7ccd8fe
      Thomas Woerner authored
      Certificates given by ansible could have leading and trailing white
      space, but also multi line input is possible that also could have
      leading and training white space and newlines.
      b7ccd8fe
    • Thomas Woerner's avatar
      ipaidoverrideusere: Use new convert_input_certificates · ef94b703
      Thomas Woerner authored
      Certificates given by ansible could have leading and trailing white
      space, but also multi line input is possible that also could have
      leading and training white space and newlines.
      ef94b703
    • Thomas Woerner's avatar
      ipahost: Use new convert_input_certificates · 0dc58be3
      Thomas Woerner authored
      Certificates given by ansible could have leading and trailing white
      space, but also multi line input is possible that also could have
      leading and training white space and newlines.
      0dc58be3
    • Thomas Woerner's avatar
      ipaservice: Use new convert_input_certificates · b64da1db
      Thomas Woerner authored
      Certificates given by ansible could have leading and trailing white
      space, but also multi line input is possible that also could have
      leading and training white space and newlines.
      b64da1db
    • Thomas Woerner's avatar
      ansible_freeipa_module: New function convert_input_certificates · 84b5d33c
      Thomas Woerner authored
      Certificates given by ansible could have leading and trailing white
      space, but also multi line input is possible that also could have
      leading and training white space and newlines.
      
      New function:
      - convert_input_certificates(module, certs, state)
      84b5d33c
  4. Jun 20, 2024
    • Thomas Woerner's avatar
      ipareplica: After an HSM replica install ensure all certs are visible · 5ac7143f
      Thomas Woerner authored
      FreeIPA commit ea0bf4020ce0b1e32572e128e9323c5af60ec93d
      
          After an HSM replica install ensure all certs are visible
      
          If a certificate on a token does not have NSS trust set then
          it won't be visible in the softoken. This can be disconcerting
          for those used to seeing all the certificates.
      
          Loop through the possibilities and set no trust (or Peer) for
          all the certificates on the token.
      
          Also ensure that the CA certificate has the correct nickname.
      
          Related: https://pagure.io/freeipa/issue/9273
      5ac7143f
    • Thomas Woerner's avatar
      ipareplica: Refactor CA file handling · 07d91e02
      Thomas Woerner authored
      replicainstall.install_ca_cert has been removed, paths.IPA_CERTUPDATE is
      called instead if the client was configured before deploying with
      iparepica role.
      
      FreeIPA commit 8f25b2a74a587548976f3d29f0b69d566d70125d
      
          Refactor CA file handling in replica installer
      
          Clean up and remove obsolete code from ipa-replica-install. For several
          versions replica installer first ensures that a host is an IPA client,
          then promotes the client to a replica. The client installer code sets up
          CA stores like IPA_CA_CRT already.
      07d91e02
    • Thomas Woerner's avatar
      ipareplica_install_ca_certs: Do not return unchanged config attributes · 127d7581
      Thomas Woerner authored
      The config attributes config_master_host_name and also config_ca_host_name
      are not changed within ipareplica_install_ca_certs, therefore it is not
      needed to return them and also to use the returned values for following
      tasks.
      127d7581
    • Thomas Woerner's avatar
      ipaserver: Set hsm attributes to None for now · 4ff6e35c
      Thomas Woerner authored
      The HSM parameters
      
          token_name
          token_library_path
          token_password
          token_password_file
      
      are set to None to enable deployment with IPA 4.12 as a workaround till
      HSM can be fully supported by the ipaserver role.
      4ff6e35c
  5. May 27, 2024
  6. May 23, 2024
  7. May 22, 2024
Loading