xref: /freebsd/contrib/pam-krb5/tests/data/scripts/alt-auth/only (revision bf6873c5786e333d679a7838d28812febf479a8a)
1# Test required alternative authentication principal.  -*- 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    = alt_auth_map=%1 only_alt_auth force_first_pass no_ccache
12    account = alt_auth_map=%1 no_ccache
13
14[run]
15    authenticate  = PAM_SUCCESS
16    acct_mgmt     = PAM_SUCCESS
17
18[output]
19    INFO user %u authenticated as %1
20