xref: /freebsd/contrib/pam-krb5/tests/data/scripts/bad-authtok/use-first-debug (revision bf6873c5786e333d679a7838d28812febf479a8a)
1# Test use_first_pass with a bad initial AUTHTOK 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    auth    = use_first_pass no_ccache debug
12    account = no_ccache debug
13    session = no_ccache debug
14
15[run]
16    authenticate  = PAM_AUTH_ERR
17    acct_mgmt     = PAM_IGNORE
18    open_session  = PAM_SUCCESS
19    close_session = PAM_SUCCESS
20
21[output]
22    DEBUG pam_sm_authenticate: entry
23    DEBUG (user %u) attempting authentication as %u
24    DEBUG /^\(user %u\) krb5_get_init_creds_password: /
25    NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
26    DEBUG pam_sm_authenticate: exit (failure)
27    DEBUG pam_sm_acct_mgmt: entry
28    DEBUG skipping non-Kerberos login
29    DEBUG pam_sm_acct_mgmt: exit (ignore)
30    DEBUG pam_sm_open_session: entry
31    DEBUG pam_sm_open_session: exit (success)
32    DEBUG pam_sm_close_session: entry
33    DEBUG pam_sm_close_session: exit (success)
34