aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/system-session.tpl5
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/system-session.tpl b/templates/system-session.tpl
index 1538429..ce3afa5 100644
--- a/templates/system-session.tpl
+++ b/templates/system-session.tpl
@@ -5,12 +5,9 @@ session optional pam_mktemp.so
{% endif %}
{%if krb5 %}
-session [success=1 default=ignore] {{ krb5_params }}
+session [success=1 default=ignore] pam_krb5.so {{ krb5_params }}
{% endif %}
session required pam_unix.so {{ debug|default('', true) }}
-{%if krb5 %}
-session [success=1 default=ignore] {{ krb5_params }}
-{% endif %}
session optional pam_permit.so