xref: /freebsd/contrib/pam-krb5/tests/data/scripts/password/basic-debug (revision bf6873c5786e333d679a7838d28812febf479a8a)
1# Test password change with prompting and debug.  -*- 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    password = debug
12
13[run]
14    chauthtok(PRELIM_CHECK)   = PAM_SUCCESS
15    chauthtok(UPDATE_AUTHTOK) = PAM_SUCCESS
16
17[prompts]
18    echo_off = Current Kerberos password: |%p
19    echo_off = Enter new Kerberos password: |%n
20    echo_off = Retype new Kerberos password: |%n
21
22[output]
23    DEBUG pam_sm_chauthtok: entry (prelim)
24    DEBUG (user %u) attempting authentication as %0 for kadmin/changepw
25    DEBUG pam_sm_chauthtok: exit (success)
26    DEBUG pam_sm_chauthtok: entry (update)
27    INFO user %u changed Kerberos password
28    DEBUG pam_sm_chauthtok: exit (success)
29