5 * $FreeBSD: src/contrib/libpam/libpam/pam_tokens.h,v 1.1.1.1.6.2 2001/06/11 15:28:12 markm Exp $
7 * This is a Linux-PAM Library Private Header file. It contains tokens
8 * that are used when we parse the configuration file(s).
10 * Please see end of file for copyright.
12 * Creator: Andrew Morgan.
20 /* an array of actions */
22 const char * const _pam_token_actions[-_PAM_ACTION_UNDEF] = {
31 /* an array of possible return values */
33 const char * const _pam_token_returns[_PAM_RETURN_VALUES+1] = {
37 "service_err", /* 3 */
40 "perm_denied", /* 6 */
42 "cred_insufficient", /* 8 */
43 "authinfo_unavail", /* 9 */
44 "user_unknown", /* 10 */
46 "new_authtok_reqd", /* 12 */
47 "acct_expired", /* 13 */
48 "session_err", /* 14 */
49 "cred_unavail", /* 15 */
50 "cred_expired", /* 16 */
52 "no_module_data", /* 18 */
54 "authtok_err", /* 20 */
55 "authtok_recover_err", /* 21 */
56 "authtok_lock_busy", /* 22 */
57 "authtok_disable_aging", /* 23 */
61 "authtok_expired", /* 27 */
62 "module_unknown", /* 28 */
64 /* add new return codes here */
65 "default" /* this is _PAM_RETURN_VALUES and indicates
66 the default return action */
70 * Copyright (C) 1998, Andrew G. Morgan <morgan@linux.kernel.org>
74 * Redistribution and use in source and binary forms, with or without
75 * modification, are permitted provided that the following conditions
77 * 1. Redistributions of source code must retain the above copyright
78 * notice, and the entire permission notice in its entirety,
79 * including the disclaimer of warranties.
80 * 2. Redistributions in binary form must reproduce the above copyright
81 * notice, this list of conditions and the following disclaimer in the
82 * documentation and/or other materials provided with the distribution.
83 * 3. The name of the author may not be used to endorse or promote
84 * products derived from this software without specific prior
87 * ALTERNATIVELY, this product may be distributed under the terms of
88 * the GNU Public License, in which case the provisions of the GPL are
89 * required INSTEAD OF the above restrictions. (This clause is
90 * necessary due to a potential bad interaction between the GPL and
91 * the restrictions contained in a BSD-style copyright.)
93 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
94 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
95 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
96 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
97 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
98 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
99 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
100 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
101 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
102 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
103 * OF THE POSSIBILITY OF SUCH DAMAGE.
106 #endif /* _PAM_PRIVATE_H_ */