#
# Configure KRB5 client
#

links:
    debian.installation.!standalone::
        /usr/share/pam-configs/edu-nopwdchange ->! /usr/share/debian-edu-config/pam-config-nopwdchange

shellcommands:
    # setup-roaming generate its own krb5.conf, no need to do it here.
    debian.installation.!standalone.!roaming::
	"/usr/share/debian-edu-config/tools/sssd-generate-config -k > /etc/krb5.conf"

    debian.installation.!standalone.secondpass::
       # Activate changes to pam-configs in /etc/pam.d/
       "/usr/sbin/pam-auth-update --package"

files:
  debian.secondpass.!standalone::
	/etc/krb5.conf mode=644 act=fixall
