xref: /freebsd/contrib/pam-krb5/tests/data/scripts/alt-auth/force-fail-debug (revision bf6873c5786e333d679a7838d28812febf479a8a)
1# Test failure of forced authentication principal (no fallback).  -*- 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 force_alt_auth force_first_pass no_ccache debug
12    account = alt_auth_map=%1 no_ccache debug
13
14[run]
15    authenticate  = PAM_AUTH_ERR
16    acct_mgmt     = PAM_IGNORE
17
18[output]
19    DEBUG pam_sm_authenticate: entry
20    DEBUG (user %u) mapping bogus-nonexistent-account to %1
21    DEBUG /^\(user %u\) alternate authentication failed: /
22    NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
23    DEBUG pam_sm_authenticate: exit (failure)
24    DEBUG pam_sm_acct_mgmt: entry
25    DEBUG skipping non-Kerberos login
26    DEBUG pam_sm_acct_mgmt: exit (ignore)
27