blob: 18b4ed6086121af73579d7112cc7ebedce26332f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Test password change to an excessively long password. -*- conf -*-
#
# Copyright 2020 Russ Allbery <eagle@eyrie.org>
#
# SPDX-License-Identifier: BSD-3-clause or GPL-1+
[options]
password = debug
[run]
chauthtok(PRELIM_CHECK) = PAM_SUCCESS
chauthtok(UPDATE_AUTHTOK) = PAM_AUTHTOK_ERR
[prompts]
echo_off = Current Kerberos password: |%p
echo_off = Enter new Kerberos password: |%n
[output]
DEBUG pam_sm_chauthtok: entry (prelim)
DEBUG (user %u) attempting authentication as %0 for kadmin/changepw
DEBUG pam_sm_chauthtok: exit (success)
DEBUG pam_sm_chauthtok: entry (update)
DEBUG /^\(user %u\) rejecting password longer than [0-9]+$/
DEBUG pam_sm_chauthtok: exit (failure)
|