Enum pam_sys::types::PamReturnCode
[−]
[src]
pub enum PamReturnCode { SUCCESS, OPEN_ERR, SYMBOL_ERR, SERVICE_ERR, SYSTEM_ERR, BUF_ERR, PERM_DENIED, AUTH_ERR, CRED_INSUFFICIENT, AUTHINFO_UNAVAIL, USER_UNKNOWN, MAXTRIES, NEW_AUTHTOK_REQD, ACCT_EXPIRED, SESSION_ERR, CRED_UNAVAIL, CRED_EXPIRED, CRED_ERR, NO_MODULE_DATA, CONV_ERR, AUTHTOK_ERR, AUTHTOK_RECOVERY_ERR, AUTHTOK_LOCK_BUSY, AUTHTOK_DISABLE_AGING, TRY_AGAIN, IGNORE, AUTHTOK_EXPIRED, ABORT, MODULE_UNKNOWN, BAD_ITEM, CONV_AGAIN, INCOMPLETE, }
The Linux-PAM return values
Variants
SUCCESS
Successful function return
OPEN_ERR
dlopen() failure when dynamically loading a service module
SYMBOL_ERR
Symbol not found
SERVICE_ERR
Error in service module
SYSTEM_ERR
System error
BUF_ERR
Memory buffer error
PERM_DENIED
Permission denied
AUTH_ERR
Authentication failure
CRED_INSUFFICIENT
Can not access authentication data due to insufficient credentials
AUTHINFO_UNAVAIL
Underlying authentication service can not retrieve authentication information
USER_UNKNOWN
User not known to the underlying authentication module
MAXTRIES
An authentication service has maintained a retry count which has been reached. No further retries should be attempted
NEW_AUTHTOK_REQD
New authentication token required. This is normally returned if the machine security policies require that the password should be changed beccause the password is NULL or it has aged
ACCT_EXPIRED
User account has expired
SESSION_ERR
Can not make/remove an entry for the specified session
CRED_UNAVAIL
Underlying authentication service can not retrieve user credentials unavailable
CRED_EXPIRED
User credentials expired
CRED_ERR
Failure setting user credentials
NO_MODULE_DATA
No module specific data is present
CONV_ERR
Conversation error
AUTHTOK_ERR
Authentication token manipulation error
AUTHTOK_RECOVERY_ERR
Authentication information cannot be recovered
AUTHTOK_LOCK_BUSY
Authentication token lock busy
AUTHTOK_DISABLE_AGING
Authentication token aging disabled
TRY_AGAIN
Preliminary check by password service
IGNORE
Ignore underlying account module regardless of whether the control flag is required, optional, or sufficient
AUTHTOK_EXPIRED
Critical error (?module fail now request)
ABORT
user's authentication token has expired
MODULE_UNKNOWN
module is not known
BAD_ITEM
Bad item passed to pam_*_item()
CONV_AGAIN
conversation function is event driven and data is not available yet
INCOMPLETE
please call this function again to complete authentication stack. Before calling again, verify that conversation is completed
Methods
impl PamReturnCode
[src]
fn from_i32(status: i32) -> PamReturnCode
Trait Implementations
impl PartialEq for PamReturnCode
[src]
fn eq(&self, __arg_0: &PamReturnCode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.