xref: /freebsd/contrib/pam-krb5/tests/data/scripts/long/password-debug (revision bf6873c5786e333d679a7838d28812febf479a8a)
1# Test excessively long password handling with debug logging.  -*- conf -*-
2#
3# Copyright 2020 Russ Allbery <eagle@eyrie.org>
4#
5# SPDX-License-Identifier: BSD-3-clause or GPL-1+
6
7[options]
8    auth = debug
9
10[run]
11    authenticate = PAM_AUTH_ERR
12
13[prompts]
14    echo_off = Password: |%p
15
16[output]
17    DEBUG pam_sm_authenticate: entry
18    DEBUG /^\(user %u\) rejecting password longer than [0-9]+$/
19    NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
20    DEBUG pam_sm_authenticate: exit (failure)
21