Changeset 2 in openpam
- Timestamp:
- Feb 1, 2002, 6:26:05 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/security/pam_constants.h
r1 r2 41 41 * XSSO 5.2 42 42 */ 43 #define PAM_SUCCESS 0 44 #define PAM_OPEN_ERR 1 45 #define PAM_SYMBOL_ERR 2 46 #define PAM_SERVICE_ERR 3 47 #define PAM_SYSTEM_ERR 4 48 #define PAM_BUF_ERR 5 49 #define PAM_CONV_ERR 6 50 #define PAM_PERM_DENIED 7 51 #define PAM_MAXTRIES 8 52 #define PAM_AUTH_ERR 9 53 #define PAM_NEW_AUTHTOK_REQD 10 54 #define PAM_CRED_INSUFFICIENT 11 55 #define PAM_AUTHINFO_UNAVAIL 12 56 #define PAM_USER_UNKNOWN 13 57 #define PAM_CRED_UNAVAIL 14 58 #define PAM_CRED_EXPIRED 15 59 #define PAM_CRED_ERR 16 60 #define PAM_ACCT_EXPIRED 17 61 #define PAM_AUTHTOK_EXPIRED 18 62 #define PAM_SESSION_ERR 19 63 #define PAM_AUTHTOK_ERR 20 64 #define PAM_AUTHTOK_RECOVERY_ERR 21 65 #define PAM_AUTHTOK_LOCK_BUSY 22 66 #define PAM_AUTHTOK_DISABLE_AGING 23 67 #define PAM_NO_MODULE_DATA 24 68 #define PAM_IGNORE 25 69 #define PAM_ABORT 26 70 #define PAM_TRY_AGAIN 27 71 #define PAM_MODULE_UNKNOWN 28 72 #define PAM_DOMAIN_UNKNOWN 29 43 enum { 44 PAM_SUCCESS = 0, 45 PAM_OPEN_ERR = 1, 46 PAM_SYMBOL_ERR = 2, 47 PAM_SERVICE_ERR = 3, 48 PAM_SYSTEM_ERR = 4, 49 PAM_BUF_ERR = 5, 50 PAM_CONV_ERR = 6, 51 PAM_PERM_DENIED = 7, 52 PAM_MAXTRIES = 8, 53 PAM_AUTH_ERR = 9, 54 PAM_NEW_AUTHTOK_REQD = 10, 55 PAM_CRED_INSUFFICIENT = 11, 56 PAM_AUTHINFO_UNAVAIL = 12, 57 PAM_USER_UNKNOWN = 13, 58 PAM_CRED_UNAVAIL = 14, 59 PAM_CRED_EXPIRED = 15, 60 PAM_CRED_ERR = 16, 61 PAM_ACCT_EXPIRED = 17, 62 PAM_AUTHTOK_EXPIRED = 18, 63 PAM_SESSION_ERR = 19, 64 PAM_AUTHTOK_ERR = 20, 65 PAM_AUTHTOK_RECOVERY_ERR = 21, 66 PAM_AUTHTOK_LOCK_BUSY = 22, 67 PAM_AUTHTOK_DISABLE_AGING = 23, 68 PAM_NO_MODULE_DATA = 24, 69 PAM_IGNORE = 25, 70 PAM_ABORT = 26, 71 PAM_TRY_AGAIN = 27, 72 PAM_MODULE_UNKNOWN = 28, 73 PAM_DOMAIN_UNKNOWN = 29, 74 }; 73 75 74 76 /* 75 77 * XSSO 5.3 76 78 */ 77 #define PAM_PROMPT_ECHO_OFF 1 78 #define PAM_PROMPT_ECHO_ON 2 79 #define PAM_ERROR_MSG 3 80 #define PAM_TEXT_INFO 4 81 #define PAM_MAX_NUM_MSG 32 82 #define PAM_MAX_MSG_SIZE 512 83 #define PAM_MAX_RESP_SIZE 512 79 enum { 80 PAM_PROMPT_ECHO_OFF = 1, 81 PAM_PROMPT_ECHO_ON = 2, 82 PAM_ERROR_MSG = 3, 83 PAM_TEXT_INFO = 4, 84 PAM_MAX_NUM_MSG = 32, 85 PAM_MAX_MSG_SIZE = 512, 86 PAM_MAX_RESP_SIZE = 512, 87 }; 84 88 85 89 /* 86 90 * XSSO 5.4 87 91 */ 88 #define PAM_SILENT 0x80000000 89 #define PAM_DISALLOW_NULL_AUTHTOK 0x1 90 #define PAM_ESTABLISH_CRED 0x1 91 #define PAM_DELETE_CRED 0x2 92 #define PAM_REINITIALISE_CRED 0x4 93 #define PAM_REFRESH_CRED 0x8 94 #define PAM_CRED_PRELIM_CHECK 0x1 95 #define PAM_UPDATE_AUTHTOK 0x2 96 #define PAM_CHANGE_EXPIRED_AUTHTOK 0x4 92 enum { 93 PAM_SILENT = 0x80000000, 94 PAM_DISALLOW_NULL_AUTHTOK = 0x1, 95 PAM_ESTABLISH_CRED = 0x1, 96 PAM_DELETE_CRED = 0x2, 97 PAM_REINITIALISE_CRED = 0x4, 98 PAM_REFRESH_CRED = 0x8, 99 PAM_CRED_PRELIM_CHECK = 0x1, 100 PAM_UPDATE_AUTHTOK = 0x2, 101 PAM_CHANGE_EXPIRED_AUTHTOK = 0x4, 102 }; 97 103 98 104 /* 99 105 * XSSO 5.5 100 106 */ 101 #define PAM_SERVICE 1 102 #define PAM_USER 2 103 #define PAM_TTY 3 104 #define PAM_RHOST 4 105 #define PAM_CONV 5 106 #define PAM_AUTHTOK 6 107 #define PAM_OLDAUTHTOK 7 108 #define PAM_RUSER 8 109 #define PAM_USER_PROMPT 9 107 enum { 108 PAM_SERVICE = 1, 109 PAM_USER = 2, 110 PAM_TTY = 3, 111 PAM_RHOST = 4, 112 PAM_CONV = 5, 113 PAM_AUTHTOK = 6, 114 PAM_OLDAUTHTOK = 7, 115 PAM_RUSER = 8, 116 PAM_USER_PROMPT = 9, 117 }; 110 118 111 119 #endif
Note: See TracChangeset
for help on using the changeset viewer.