1*bf6873c5SCy Schubert# Test failed password authentication with debug logging. -*- 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 = no_ccache debug 12*bf6873c5SCy Schubert account = no_ccache debug 13*bf6873c5SCy Schubert session = no_ccache debug 14*bf6873c5SCy Schubert 15*bf6873c5SCy Schubert[run] 16*bf6873c5SCy Schubert authenticate = PAM_AUTH_ERR 17*bf6873c5SCy Schubert acct_mgmt = PAM_IGNORE 18*bf6873c5SCy Schubert open_session = PAM_SUCCESS 19*bf6873c5SCy Schubert close_session = PAM_SUCCESS 20*bf6873c5SCy Schubert 21*bf6873c5SCy Schubert[prompts] 22*bf6873c5SCy Schubert echo_off = Password: |BAD%p 23*bf6873c5SCy Schubert 24*bf6873c5SCy Schubert[output] 25*bf6873c5SCy Schubert DEBUG pam_sm_authenticate: entry 26*bf6873c5SCy Schubert DEBUG (user %u) attempting authentication as %u 27*bf6873c5SCy Schubert DEBUG /^\(user %u\) krb5_get_init_creds_password: / 28*bf6873c5SCy Schubert NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost= 29*bf6873c5SCy Schubert DEBUG pam_sm_authenticate: exit (failure) 30*bf6873c5SCy Schubert DEBUG pam_sm_acct_mgmt: entry 31*bf6873c5SCy Schubert DEBUG skipping non-Kerberos login 32*bf6873c5SCy Schubert DEBUG pam_sm_acct_mgmt: exit (ignore) 33*bf6873c5SCy Schubert DEBUG pam_sm_open_session: entry 34*bf6873c5SCy Schubert DEBUG pam_sm_open_session: exit (success) 35*bf6873c5SCy Schubert DEBUG pam_sm_close_session: entry 36*bf6873c5SCy Schubert DEBUG pam_sm_close_session: exit (success) 37