Skip to content
Snippets Groups Projects
Select Git revision
  • 218d77e9c6e282a205adfbc0fe31a6376f1362c7
  • 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
22 results

ipajoin.py

  • Thomas Woerner's avatar
    218d77e9
    library/ipajoin.py: Compatibilty to ipa 4.4 and later, new version check · 218d77e9
    Thomas Woerner authored
    For ipa versions prior to 4.5 it is needed to use ipa-client-install script
    as a source for functions. But the script contains a global finally clause
    in which the generated ccache file gets removed. Threfore the script is
    temporarily copied to ipa_client_install.py and the global finally clause
    gets removed from the copy. All this is done in a temporary directory, which
    gets removed right after the import has been done.
    
    A Object called options is generated as ipa-client-install and also
    ipaclient/install/client.py functions are using this object.
    
    inspect.argspec is used on configure_krb5_conf to find out if the function
    requires configure_sssd as an optional argument or in the options object.
    218d77e9
    History
    library/ipajoin.py: Compatibilty to ipa 4.4 and later, new version check
    Thomas Woerner authored
    For ipa versions prior to 4.5 it is needed to use ipa-client-install script
    as a source for functions. But the script contains a global finally clause
    in which the generated ccache file gets removed. Threfore the script is
    temporarily copied to ipa_client_install.py and the global finally clause
    gets removed from the copy. All this is done in a temporary directory, which
    gets removed right after the import has been done.
    
    A Object called options is generated as ipa-client-install and also
    ipaclient/install/client.py functions are using this object.
    
    inspect.argspec is used on configure_krb5_conf to find out if the function
    requires configure_sssd as an optional argument or in the options object.