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