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