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