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