1*bf6873c5SCy Schubert# Test failure of alternative authentication principal. -*- 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=bogus force_first_pass no_ccache debug 12*bf6873c5SCy Schubert account = alt_auth_map=bogus no_ccache debug 13*bf6873c5SCy Schubert 14*bf6873c5SCy Schubert[run] 15*bf6873c5SCy Schubert authenticate = PAM_AUTHINFO_UNAVAIL 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 bogus@%2 21*bf6873c5SCy Schubert DEBUG /^\(user %u\) alternate authentication failed: / 22*bf6873c5SCy Schubert DEBUG (user %u) attempting authentication as %u@%2 23*bf6873c5SCy Schubert DEBUG /^\(user %u\) krb5_get_init_creds_password: / 24*bf6873c5SCy Schubert NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost= 25*bf6873c5SCy Schubert DEBUG pam_sm_authenticate: exit (failure) 26*bf6873c5SCy Schubert DEBUG pam_sm_acct_mgmt: entry 27*bf6873c5SCy Schubert DEBUG skipping non-Kerberos login 28*bf6873c5SCy Schubert DEBUG pam_sm_acct_mgmt: exit (ignore) 29