xref: /freebsd/contrib/pam-krb5/tests/data/scripts/basic/no-context-debug (revision bf6873c5786e333d679a7838d28812febf479a8a)
1# Test account and session behavior with no context.  -*- 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    = debug
12    account = debug
13    session = debug
14
15[run]
16    acct_mgmt                  = PAM_IGNORE
17    setcred(DELETE_CRED)       = PAM_SUCCESS
18    setcred(ESTABLISH_CRED)    = PAM_SUCCESS
19    setcred(REFRESH_CRED)      = PAM_SUCCESS
20    setcred(REINITIALIZE_CRED) = PAM_SUCCESS
21    open_session               = PAM_IGNORE
22    close_session              = PAM_SUCCESS
23
24[output]
25    DEBUG pam_sm_acct_mgmt: entry
26    DEBUG skipping non-Kerberos login
27    DEBUG pam_sm_acct_mgmt: exit (ignore)
28    DEBUG pam_sm_setcred: entry (delete)
29    DEBUG pam_sm_setcred: exit (success)
30    DEBUG pam_sm_setcred: entry (establish)
31    DEBUG no context found, creating one
32    DEBUG (user root) unable to get PAM_KRB5CCNAME, assuming non-Kerberos login
33    DEBUG pam_sm_setcred: exit (success)
34    DEBUG pam_sm_setcred: entry (refresh)
35    DEBUG no context found, creating one
36    DEBUG (user root) unable to get PAM_KRB5CCNAME, assuming non-Kerberos login
37    DEBUG pam_sm_setcred: exit (success)
38    DEBUG pam_sm_setcred: entry (reinit)
39    DEBUG no context found, creating one
40    DEBUG (user root) unable to get PAM_KRB5CCNAME, assuming non-Kerberos login
41    DEBUG pam_sm_setcred: exit (success)
42    DEBUG pam_sm_open_session: entry
43    DEBUG no context found, creating one
44    DEBUG (user root) unable to get PAM_KRB5CCNAME, assuming non-Kerberos login
45    DEBUG pam_sm_open_session: exit (ignore)
46    DEBUG pam_sm_close_session: entry
47    DEBUG pam_sm_close_session: exit (success)
48