xref: /freebsd/contrib/pam-krb5/tests/data/scripts/cache/end-data-silent (revision bf6873c5786e333d679a7838d28812febf479a8a)
1# Test pam_end with PAM_DATA_SILENT.  -*- conf -*-
2#
3# Passing PAM_DATA_SILENT to pam_end should cause the credential cache to not
4# be deleted (under the assumption that pam_end is being called in a forked
5# process and will be called again in the parent to clean up resources).
6#
7# Written by Russ Allbery <eagle@eyrie.org>
8# Copyright 2014, 2020-2021 Russ Allbery <eagle@eyrie.org>
9# Copyright 2010-2011
10#     The Board of Trustees of the Leland Stanford Junior University
11#
12# SPDX-License-Identifier: BSD-3-clause or GPL-1+
13
14[options]
15    auth    = force_first_pass ignore_k5login
16    account = ignore_k5login
17
18[run]
19    authenticate = PAM_SUCCESS
20    acct_mgmt    = PAM_SUCCESS
21    open_session = PAM_SUCCESS
22
23[end]
24    flags = PAM_DATA_SILENT
25
26[output]
27    INFO user %u authenticated as %0
28