1# Test authentication failure with different user_realm. -*- conf -*- 2# 3# Written by Russ Allbery <eagle@eyrie.org> 4# Copyright 2014, 2020 Russ Allbery <eagle@eyrie.org> 5# Copyright 2010-2011 6# The Board of Trustees of the Leland Stanford Junior University 7# 8# SPDX-License-Identifier: BSD-3-clause or GPL-1+ 9 10[options] 11 auth = force_first_pass no_ccache user_realm=%0 12 13[run] 14 authenticate = PAM_AUTH_ERR 15 16[output] 17 ERR /^\(user %u\) cannot convert principal to user: / 18 NOTICE failed authorization check; logname=%u uid=%i euid=%i tty= ruser= rhost= 19