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