- All Known Implementing Classes:
DfsReferral,SmbAuthException,SmbEndOfFileException,SmbException,SMBSignatureValidationException,SmbUnsupportedOperationException
public interface NtStatus
Interface defining NT status codes used in SMB protocol operations.
These status codes are returned by SMB servers to indicate the result
of requested operations. The codes follow the Windows NT status code format.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccess is deniedstatic final intInvalid access to memory locationstatic final intThe referenced account is currently disabledstatic final intThe referenced account is currently locked outstatic final intLogon failure: user account restrictionstatic final intThe network resource type is not correctstatic final intThe network name cannot be foundstatic final intThe data was too large to fit into the specified bufferstatic final intThe data area passed to a system call is too smallstatic final intThe file cannot be deletedstatic final intIndicates a domain controller could not be contacted or objects are protectedstatic final int[]Array of all NT status codes defined in this interfacestatic final intThe remote system refused the network connectionstatic final intThe file is pending deletionstatic final intThe disk is fullstatic final intA duplicate name exists on the networkstatic final intEnd of file reachedstatic final intThe file that was specified is a directorystatic final intThe requested pipe instance is not availablestatic final intInsufficient resources are available to complete the requeststatic final intThe format of the specified computer name is invalidstatic final intThe handle is invalidstatic final intThe specified information class is invalidstatic final intLogon failure: account logon time restriction violationstatic final intThe parameter is incorrectstatic final intThe pipe state is invalid for the requested operationstatic final intThe security ID structure is invalidstatic final intLogon failure: user not allowed to log on to this computerstatic final intThe IO operation on the reparse point failedstatic final intLogon failure: unknown user name or bad passwordstatic final intThe user has not been granted the requested logon type at this computerstatic final String[]Array of human-readable messages corresponding to NT_STATUS_CODESstatic final intMore processing is required to complete this requeststatic final intNetwork access is deniedstatic final intThe specified network name is no longer availablestatic final intThere are currently no logon servers available to service the logon requeststatic final intNo more files were found matching the file specificationstatic final intThe specified local group does not existstatic final intThe system cannot find the device specifiedstatic final intThe specified domain does not existstatic final intThe system cannot find the file specifiedstatic final intThe specified user does not existstatic final intThe SAM database does not have a computer account for this workstation trust relationshipstatic final intThe account used is a computer accountstatic final intNo mapping between account names and security IDs was donestatic final intThe directory name is invalidstatic final intThe object was not foundstatic final intThe requested operation is not implementedstatic final intA notify change request is being completed and information is being returnedstatic final intThe object name already existsstatic final intThe object name is invalidstatic final intThe object was not foundstatic final intThe object path is invalidstatic final intThe object path was not foundstatic final intThe object path syntax is badstatic final intDeprecated.Use NT_STATUS_SUCCESS insteadstatic final intThe user's password has expiredstatic final intThe user must change the password before first logonstatic final intThe pathname does not traverse a DFS junctionstatic final intThe request is pendingstatic final intThe pipe operation has failed because the other end of the pipe has been closedstatic final intAll pipe instances are busystatic final intThe pipe is being closedstatic final intNo process is on the other end of the pipestatic final intWaiting for a process to open the other end of the pipestatic final intThe pipe is not availablestatic final intThe port is disconnectedstatic final intNo more connections can be made to this remote computerstatic final intThe process cannot access the file because it is being used by another processstatic final intThe operation completed successfullystatic final intThe trust relationship between the primary domain and the trusted domain failedstatic final intThe trust relationship between this workstation and the primary domain failedstatic final intThe requested operation was unsuccessfulstatic final intThe specified user already existsstatic final intThe specified network password is not correct
-
Field Details
-
NT_STATUS_OK
static final int NT_STATUS_OKDeprecated.Use NT_STATUS_SUCCESS instead- See Also:
-
NT_STATUS_SUCCESS
static final int NT_STATUS_SUCCESSThe operation completed successfully- See Also:
-
NT_STATUS_PENDING
static final int NT_STATUS_PENDINGThe request is pending- See Also:
-
NT_STATUS_NOTIFY_ENUM_DIR
static final int NT_STATUS_NOTIFY_ENUM_DIRA notify change request is being completed and information is being returned- See Also:
-
NT_STATUS_BUFFER_OVERFLOW
static final int NT_STATUS_BUFFER_OVERFLOWThe data was too large to fit into the specified buffer- See Also:
-
NT_STATUS_UNSUCCESSFUL
static final int NT_STATUS_UNSUCCESSFULThe requested operation was unsuccessful- See Also:
-
NT_STATUS_NOT_IMPLEMENTED
static final int NT_STATUS_NOT_IMPLEMENTEDThe requested operation is not implemented- See Also:
-
NT_STATUS_INVALID_INFO_CLASS
static final int NT_STATUS_INVALID_INFO_CLASSThe specified information class is invalid- See Also:
-
NT_STATUS_ACCESS_VIOLATION
static final int NT_STATUS_ACCESS_VIOLATIONInvalid access to memory location- See Also:
-
NT_STATUS_INVALID_HANDLE
static final int NT_STATUS_INVALID_HANDLEThe handle is invalid- See Also:
-
NT_STATUS_INVALID_PARAMETER
static final int NT_STATUS_INVALID_PARAMETERThe parameter is incorrect- See Also:
-
NT_STATUS_NO_SUCH_DEVICE
static final int NT_STATUS_NO_SUCH_DEVICEThe system cannot find the device specified- See Also:
-
NT_STATUS_NO_SUCH_FILE
static final int NT_STATUS_NO_SUCH_FILEThe system cannot find the file specified- See Also:
-
NT_STATUS_END_OF_FILE
static final int NT_STATUS_END_OF_FILEEnd of file reached- See Also:
-
NT_STATUS_MORE_PROCESSING_REQUIRED
static final int NT_STATUS_MORE_PROCESSING_REQUIREDMore processing is required to complete this request- See Also:
-
NT_STATUS_ACCESS_DENIED
static final int NT_STATUS_ACCESS_DENIEDAccess is denied- See Also:
-
NT_STATUS_BUFFER_TOO_SMALL
static final int NT_STATUS_BUFFER_TOO_SMALLThe data area passed to a system call is too small- See Also:
-
NT_STATUS_OBJECT_NAME_INVALID
static final int NT_STATUS_OBJECT_NAME_INVALIDThe object name is invalid- See Also:
-
NT_STATUS_OBJECT_NAME_NOT_FOUND
static final int NT_STATUS_OBJECT_NAME_NOT_FOUNDThe object was not found- See Also:
-
NT_STATUS_OBJECT_NAME_COLLISION
static final int NT_STATUS_OBJECT_NAME_COLLISIONThe object name already exists- See Also:
-
NT_STATUS_PORT_DISCONNECTED
static final int NT_STATUS_PORT_DISCONNECTEDThe port is disconnected- See Also:
-
NT_STATUS_OBJECT_PATH_INVALID
static final int NT_STATUS_OBJECT_PATH_INVALIDThe object path is invalid- See Also:
-
NT_STATUS_OBJECT_PATH_NOT_FOUND
static final int NT_STATUS_OBJECT_PATH_NOT_FOUNDThe object path was not found- See Also:
-
NT_STATUS_OBJECT_PATH_SYNTAX_BAD
static final int NT_STATUS_OBJECT_PATH_SYNTAX_BADThe object path syntax is bad- See Also:
-
NT_STATUS_SHARING_VIOLATION
static final int NT_STATUS_SHARING_VIOLATIONThe process cannot access the file because it is being used by another process- See Also:
-
NT_STATUS_DELETE_PENDING
static final int NT_STATUS_DELETE_PENDINGThe file is pending deletion- See Also:
-
NT_STATUS_NO_LOGON_SERVERS
static final int NT_STATUS_NO_LOGON_SERVERSThere are currently no logon servers available to service the logon request- See Also:
-
NT_STATUS_USER_EXISTS
static final int NT_STATUS_USER_EXISTSThe specified user already exists- See Also:
-
NT_STATUS_NO_SUCH_USER
static final int NT_STATUS_NO_SUCH_USERThe specified user does not exist- See Also:
-
NT_STATUS_WRONG_PASSWORD
static final int NT_STATUS_WRONG_PASSWORDThe specified network password is not correct- See Also:
-
NT_STATUS_LOGON_FAILURE
static final int NT_STATUS_LOGON_FAILURELogon failure: unknown user name or bad password- See Also:
-
NT_STATUS_ACCOUNT_RESTRICTION
static final int NT_STATUS_ACCOUNT_RESTRICTIONLogon failure: user account restriction- See Also:
-
NT_STATUS_INVALID_LOGON_HOURS
static final int NT_STATUS_INVALID_LOGON_HOURSLogon failure: account logon time restriction violation- See Also:
-
NT_STATUS_INVALID_WORKSTATION
static final int NT_STATUS_INVALID_WORKSTATIONLogon failure: user not allowed to log on to this computer- See Also:
-
NT_STATUS_PASSWORD_EXPIRED
static final int NT_STATUS_PASSWORD_EXPIREDThe user's password has expired- See Also:
-
NT_STATUS_ACCOUNT_DISABLED
static final int NT_STATUS_ACCOUNT_DISABLEDThe referenced account is currently disabled- See Also:
-
NT_STATUS_NONE_MAPPED
static final int NT_STATUS_NONE_MAPPEDNo mapping between account names and security IDs was done- See Also:
-
NT_STATUS_INVALID_SID
static final int NT_STATUS_INVALID_SIDThe security ID structure is invalid- See Also:
-
NT_STATUS_DISK_FULL
static final int NT_STATUS_DISK_FULLThe disk is full- See Also:
-
NT_STATUS_INSUFFICIENT_RESOURCES
static final int NT_STATUS_INSUFFICIENT_RESOURCESInsufficient resources are available to complete the request- See Also:
-
NT_STATUS_INSTANCE_NOT_AVAILABLE
static final int NT_STATUS_INSTANCE_NOT_AVAILABLEThe requested pipe instance is not available- See Also:
-
NT_STATUS_PIPE_NOT_AVAILABLE
static final int NT_STATUS_PIPE_NOT_AVAILABLEThe pipe is not available- See Also:
-
NT_STATUS_INVALID_PIPE_STATE
static final int NT_STATUS_INVALID_PIPE_STATEThe pipe state is invalid for the requested operation- See Also:
-
NT_STATUS_PIPE_BUSY
static final int NT_STATUS_PIPE_BUSYAll pipe instances are busy- See Also:
-
NT_STATUS_PIPE_DISCONNECTED
static final int NT_STATUS_PIPE_DISCONNECTEDNo process is on the other end of the pipe- See Also:
-
NT_STATUS_PIPE_CLOSING
static final int NT_STATUS_PIPE_CLOSINGThe pipe is being closed- See Also:
-
NT_STATUS_PIPE_LISTENING
static final int NT_STATUS_PIPE_LISTENINGWaiting for a process to open the other end of the pipe- See Also:
-
NT_STATUS_FILE_IS_A_DIRECTORY
static final int NT_STATUS_FILE_IS_A_DIRECTORYThe file that was specified is a directory- See Also:
-
NT_STATUS_DUPLICATE_NAME
static final int NT_STATUS_DUPLICATE_NAMEA duplicate name exists on the network- See Also:
-
NT_STATUS_NETWORK_NAME_DELETED
static final int NT_STATUS_NETWORK_NAME_DELETEDThe specified network name is no longer available- See Also:
-
NT_STATUS_NETWORK_ACCESS_DENIED
static final int NT_STATUS_NETWORK_ACCESS_DENIEDNetwork access is denied- See Also:
-
NT_STATUS_BAD_DEVICE_TYPE
static final int NT_STATUS_BAD_DEVICE_TYPEThe network resource type is not correct- See Also:
-
NT_STATUS_BAD_NETWORK_NAME
static final int NT_STATUS_BAD_NETWORK_NAMEThe network name cannot be found- See Also:
-
NT_STATUS_REQUEST_NOT_ACCEPTED
static final int NT_STATUS_REQUEST_NOT_ACCEPTEDNo more connections can be made to this remote computer- See Also:
-
NT_STATUS_CANT_ACCESS_DOMAIN_INFO
static final int NT_STATUS_CANT_ACCESS_DOMAIN_INFOIndicates a domain controller could not be contacted or objects are protected- See Also:
-
NT_STATUS_NO_SUCH_DOMAIN
static final int NT_STATUS_NO_SUCH_DOMAINThe specified domain does not exist- See Also:
-
NT_STATUS_NOT_A_DIRECTORY
static final int NT_STATUS_NOT_A_DIRECTORYThe directory name is invalid- See Also:
-
NT_STATUS_CANNOT_DELETE
static final int NT_STATUS_CANNOT_DELETEThe file cannot be deleted- See Also:
-
NT_STATUS_INVALID_COMPUTER_NAME
static final int NT_STATUS_INVALID_COMPUTER_NAMEThe format of the specified computer name is invalid- See Also:
-
NT_STATUS_PIPE_BROKEN
static final int NT_STATUS_PIPE_BROKENThe pipe operation has failed because the other end of the pipe has been closed- See Also:
-
NT_STATUS_NO_SUCH_ALIAS
static final int NT_STATUS_NO_SUCH_ALIASThe specified local group does not exist- See Also:
-
NT_STATUS_LOGON_TYPE_NOT_GRANTED
static final int NT_STATUS_LOGON_TYPE_NOT_GRANTEDThe user has not been granted the requested logon type at this computer- See Also:
-
NT_STATUS_NO_TRUST_SAM_ACCOUNT
static final int NT_STATUS_NO_TRUST_SAM_ACCOUNTThe SAM database does not have a computer account for this workstation trust relationship- See Also:
-
NT_STATUS_TRUSTED_DOMAIN_FAILURE
static final int NT_STATUS_TRUSTED_DOMAIN_FAILUREThe trust relationship between the primary domain and the trusted domain failed- See Also:
-
NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE
static final int NT_STATUS_TRUSTED_RELATIONSHIP_FAILUREThe trust relationship between this workstation and the primary domain failed- See Also:
-
NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT
static final int NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNTThe account used is a computer account- See Also:
-
NT_STATUS_PASSWORD_MUST_CHANGE
static final int NT_STATUS_PASSWORD_MUST_CHANGEThe user must change the password before first logon- See Also:
-
NT_STATUS_NOT_FOUND
static final int NT_STATUS_NOT_FOUNDThe object was not found- See Also:
-
NT_STATUS_ACCOUNT_LOCKED_OUT
static final int NT_STATUS_ACCOUNT_LOCKED_OUTThe referenced account is currently locked out- See Also:
-
NT_STATUS_CONNECTION_REFUSED
static final int NT_STATUS_CONNECTION_REFUSEDThe remote system refused the network connection- See Also:
-
NT_STATUS_PATH_NOT_COVERED
static final int NT_STATUS_PATH_NOT_COVEREDThe pathname does not traverse a DFS junction- See Also:
-
NT_STATUS_IO_REPARSE_TAG_NOT_HANDLED
static final int NT_STATUS_IO_REPARSE_TAG_NOT_HANDLEDThe IO operation on the reparse point failed- See Also:
-
NT_STATUS_NO_MORE_FILES
static final int NT_STATUS_NO_MORE_FILESNo more files were found matching the file specification- See Also:
-
NT_STATUS_CODES
static final int[] NT_STATUS_CODESArray of all NT status codes defined in this interface -
NT_STATUS_MESSAGES
Array of human-readable messages corresponding to NT_STATUS_CODES
-