Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1.46 KB

README.md

File metadata and controls

41 lines (24 loc) · 1.46 KB

This role installs SSSD and Certmonger and configures them to be used as clients for a FreeIPA server. It is meant to be used on systems which don't package the official ipa-client-script setup script (yet), such as Debian (wheezy/jessie).

This role is still in development. Use it at your own risk.

Documentation

  1. Add the following minimal configuration to your inventory:

     freeipa_client: True
     freeipa_servers: [ 'auth01.{{ ansible_domain }}' ]
     auth_cracklib: False
     auth_nsswitch: [ 'compat', 'sss' ]
     sshd_authorized_keys_lookup: True
     sshd_authorized_keys_lookup_type: [ 'sss' ]
    

In this case auth01 is the hostname of the FreeIPA server.

  1. Before applying the role, add the host(s) to your FreeIPA server and copy the Kerberos keytab to the corresponding servers.

On the server:

    ipa host-add --ip-address=<ip-address> <fqdn-hostname>
    ipa-getkeytab -s <ipa-server> -p host/<fqdn-hostname> -k /tmp/krb5.keytab

On the client:

   scp <ipa-server>:/tmp/krb5.keytab /etc/krb5.keytab

Authors and license

freeipa_client role was written by:

License: GPLv3