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