Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
21 results

ipaclient_test_keytab.py

  • Thomas Woerner's avatar
    bfeefaf4
    ipaclient: Fix allow_repair with removed krb5.conf and DNS lookup · bfeefaf4
    Thomas Woerner authored
    The test in ipaclient_test_keytab is at first trying to use an existing
    krb5.conf to test if the host keytab can be used. With working DNS lookup
    an absent krb5.conf is not reported as an error as DNS lookup is
    silently used instead.
    
    A temporary krb5.conf is now used in this test that forces to deactivate
    DNS lookups and also to load /etc/krb5.conf. A missing krb5.conf is now
    detected properly as the kinit call fails now properly. Thanks to Julien
    Rische for this proposal.
    
    ipaclient_test_keytab is now properly returning the state of usable or
    not usable krb5.conf in krb5_conf_ok. This fixes the handling of this
    case later on in the role.
    bfeefaf4
    History
    ipaclient: Fix allow_repair with removed krb5.conf and DNS lookup
    Thomas Woerner authored
    The test in ipaclient_test_keytab is at first trying to use an existing
    krb5.conf to test if the host keytab can be used. With working DNS lookup
    an absent krb5.conf is not reported as an error as DNS lookup is
    silently used instead.
    
    A temporary krb5.conf is now used in this test that forces to deactivate
    DNS lookups and also to load /etc/krb5.conf. A missing krb5.conf is now
    detected properly as the kinit call fails now properly. Thanks to Julien
    Rische for this proposal.
    
    ipaclient_test_keytab is now properly returning the state of usable or
    not usable krb5.conf in krb5_conf_ok. This fixes the handling of this
    case later on in the role.