xref: /freebsd/contrib/pam-krb5/tests/data/scripts/expired/basic-mit-debug (revision bf6873c5786e333d679a7838d28812febf479a8a)
1# Test default handling of expired passwords.  -*- conf -*-
2#
3# Written by Russ Allbery <eagle@eyrie.org>
4# Copyright 2014, 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 expired.  You must change it now.
25    echo_off = Enter new password: |%n
26    echo_off = Enter it again: |%n
27
28[output]
29    DEBUG pam_sm_authenticate: entry
30    DEBUG (user %u) attempting authentication as %0
31    INFO user %u authenticated as %0
32    DEBUG /^\(user %u\) temporarily storing credentials in /tmp/krb5cc_pam_/
33    DEBUG pam_sm_authenticate: exit (success)
34    DEBUG pam_sm_acct_mgmt: entry
35    DEBUG (user %u) retrieving principal from cache
36    DEBUG pam_sm_acct_mgmt: exit (success)
37    DEBUG pam_sm_open_session: entry
38    DEBUG /^\(user %u\) initializing ticket cache FILE:/tmp/krb5cc_/
39    DEBUG pam_sm_open_session: exit (success)
40    DEBUG pam_sm_close_session: entry
41    DEBUG pam_sm_close_session: exit (success)
42