xref: /freebsd/contrib/pam-krb5/tests/data/scripts/trace/unsupported (revision bf6873c5786e333d679a7838d28812febf479a8a)
1*bf6873c5SCy Schubert# Basic test of attempting trace logging when not supported.  -*- 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    = force_first_pass no_ccache trace=%0 debug
12*bf6873c5SCy Schubert    account = no_ccache trace=%0 debug
13*bf6873c5SCy Schubert    session = no_ccache trace=%0 debug
14*bf6873c5SCy Schubert
15*bf6873c5SCy Schubert[run]
16*bf6873c5SCy Schubert    authenticate               = PAM_AUTH_ERR
17*bf6873c5SCy Schubert    acct_mgmt                  = PAM_IGNORE
18*bf6873c5SCy Schubert    setcred(DELETE_CRED)       = PAM_SUCCESS
19*bf6873c5SCy Schubert    setcred(ESTABLISH_CRED)    = PAM_SUCCESS
20*bf6873c5SCy Schubert    setcred(REFRESH_CRED)      = PAM_SUCCESS
21*bf6873c5SCy Schubert    setcred(REINITIALIZE_CRED) = PAM_SUCCESS
22*bf6873c5SCy Schubert    open_session               = PAM_SUCCESS
23*bf6873c5SCy Schubert    close_session              = PAM_SUCCESS
24*bf6873c5SCy Schubert
25*bf6873c5SCy Schubert[output]
26*bf6873c5SCy Schubert    ERR trace logging requested but not supported
27*bf6873c5SCy Schubert    DEBUG pam_sm_authenticate: entry
28*bf6873c5SCy Schubert    DEBUG (user %u) no stored password
29*bf6873c5SCy Schubert    NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
30*bf6873c5SCy Schubert    DEBUG pam_sm_authenticate: exit (failure)
31*bf6873c5SCy Schubert    ERR trace logging requested but not supported
32*bf6873c5SCy Schubert    DEBUG pam_sm_acct_mgmt: entry
33*bf6873c5SCy Schubert    DEBUG skipping non-Kerberos login
34*bf6873c5SCy Schubert    DEBUG pam_sm_acct_mgmt: exit (ignore)
35*bf6873c5SCy Schubert    ERR trace logging requested but not supported
36*bf6873c5SCy Schubert    DEBUG pam_sm_setcred: entry (delete)
37*bf6873c5SCy Schubert    DEBUG pam_sm_setcred: exit (success)
38*bf6873c5SCy Schubert    ERR trace logging requested but not supported
39*bf6873c5SCy Schubert    DEBUG pam_sm_setcred: entry (establish)
40*bf6873c5SCy Schubert    DEBUG pam_sm_setcred: exit (success)
41*bf6873c5SCy Schubert    ERR trace logging requested but not supported
42*bf6873c5SCy Schubert    DEBUG pam_sm_setcred: entry (refresh)
43*bf6873c5SCy Schubert    DEBUG pam_sm_setcred: exit (success)
44*bf6873c5SCy Schubert    ERR trace logging requested but not supported
45*bf6873c5SCy Schubert    DEBUG pam_sm_setcred: entry (reinit)
46*bf6873c5SCy Schubert    DEBUG pam_sm_setcred: exit (success)
47*bf6873c5SCy Schubert    ERR trace logging requested but not supported
48*bf6873c5SCy Schubert    DEBUG pam_sm_open_session: entry
49*bf6873c5SCy Schubert    DEBUG pam_sm_open_session: exit (success)
50*bf6873c5SCy Schubert    ERR trace logging requested but not supported
51*bf6873c5SCy Schubert    DEBUG pam_sm_close_session: entry
52*bf6873c5SCy Schubert    DEBUG pam_sm_close_session: exit (success)
53