xref: /freebsd/contrib/pam-krb5/tests/data/scripts/expired/basic-heimdal-debug (revision bf6873c5786e333d679a7838d28812febf479a8a)
1# Test default handling of expired passwords.  -*- conf -*-
2#
3# Written by Russ Allbery <eagle@eyrie.org>
4# Copyright 2014, 2017, 2020 Russ Allbery <eagle@eyrie.org>
5# Copyright 2010-2011
6#     The Board of Trustees of the Leland Stanford Junior University
7#
8# SPDX-License-Identifier: BSD-3-clause or GPL-1+
9
10[options]
11    auth     = ignore_k5login debug
12    account  = ignore_k5login debug
13    password = ignore_k5login debug
14    session  = debug
15
16[run]
17    authenticate  = PAM_SUCCESS
18    acct_mgmt     = PAM_SUCCESS
19    open_session  = PAM_SUCCESS
20    close_session = PAM_SUCCESS
21
22[prompts]
23    echo_off = Password: |%p
24    info     = Password has expired
25    info     = Your password will expire at %1
26    info     = Changing password
27    echo_off = New password: |%n
28    echo_off = Repeat new password: |%n
29    info     = Success: Password changed
30
31[output]
32    DEBUG pam_sm_authenticate: entry
33    DEBUG (user %u) attempting authentication as %0
34    INFO user %u authenticated as %0
35    DEBUG /^\(user %u\) temporarily storing credentials in /tmp/krb5cc_pam_/
36    DEBUG pam_sm_authenticate: exit (success)
37    DEBUG pam_sm_acct_mgmt: entry
38    DEBUG (user %u) retrieving principal from cache
39    DEBUG pam_sm_acct_mgmt: exit (success)
40    DEBUG pam_sm_open_session: entry
41    DEBUG /^\(user %u\) initializing ticket cache FILE:/tmp/krb5cc_/
42    DEBUG pam_sm_open_session: exit (success)
43    DEBUG pam_sm_close_session: entry
44    DEBUG pam_sm_close_session: exit (success)
45