Module jcifs

Interface NtStatus

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 Details

    • NT_STATUS_OK

      static final int NT_STATUS_OK
      Deprecated.
      Use NT_STATUS_SUCCESS instead
      See Also:
    • NT_STATUS_SUCCESS

      static final int NT_STATUS_SUCCESS
      The operation completed successfully
      See Also:
    • NT_STATUS_PENDING

      static final int NT_STATUS_PENDING
      The request is pending
      See Also:
    • NT_STATUS_NOTIFY_ENUM_DIR

      static final int NT_STATUS_NOTIFY_ENUM_DIR
      A notify change request is being completed and information is being returned
      See Also:
    • NT_STATUS_BUFFER_OVERFLOW

      static final int NT_STATUS_BUFFER_OVERFLOW
      The data was too large to fit into the specified buffer
      See Also:
    • NT_STATUS_UNSUCCESSFUL

      static final int NT_STATUS_UNSUCCESSFUL
      The requested operation was unsuccessful
      See Also:
    • NT_STATUS_NOT_IMPLEMENTED

      static final int NT_STATUS_NOT_IMPLEMENTED
      The requested operation is not implemented
      See Also:
    • NT_STATUS_INVALID_INFO_CLASS

      static final int NT_STATUS_INVALID_INFO_CLASS
      The specified information class is invalid
      See Also:
    • NT_STATUS_ACCESS_VIOLATION

      static final int NT_STATUS_ACCESS_VIOLATION
      Invalid access to memory location
      See Also:
    • NT_STATUS_INVALID_HANDLE

      static final int NT_STATUS_INVALID_HANDLE
      The handle is invalid
      See Also:
    • NT_STATUS_INVALID_PARAMETER

      static final int NT_STATUS_INVALID_PARAMETER
      The parameter is incorrect
      See Also:
    • NT_STATUS_NO_SUCH_DEVICE

      static final int NT_STATUS_NO_SUCH_DEVICE
      The system cannot find the device specified
      See Also:
    • NT_STATUS_NO_SUCH_FILE

      static final int NT_STATUS_NO_SUCH_FILE
      The system cannot find the file specified
      See Also:
    • NT_STATUS_END_OF_FILE

      static final int NT_STATUS_END_OF_FILE
      End of file reached
      See Also:
    • NT_STATUS_MORE_PROCESSING_REQUIRED

      static final int NT_STATUS_MORE_PROCESSING_REQUIRED
      More processing is required to complete this request
      See Also:
    • NT_STATUS_ACCESS_DENIED

      static final int NT_STATUS_ACCESS_DENIED
      Access is denied
      See Also:
    • NT_STATUS_BUFFER_TOO_SMALL

      static final int NT_STATUS_BUFFER_TOO_SMALL
      The data area passed to a system call is too small
      See Also:
    • NT_STATUS_OBJECT_NAME_INVALID

      static final int NT_STATUS_OBJECT_NAME_INVALID
      The object name is invalid
      See Also:
    • NT_STATUS_OBJECT_NAME_NOT_FOUND

      static final int NT_STATUS_OBJECT_NAME_NOT_FOUND
      The object was not found
      See Also:
    • NT_STATUS_OBJECT_NAME_COLLISION

      static final int NT_STATUS_OBJECT_NAME_COLLISION
      The object name already exists
      See Also:
    • NT_STATUS_PORT_DISCONNECTED

      static final int NT_STATUS_PORT_DISCONNECTED
      The port is disconnected
      See Also:
    • NT_STATUS_OBJECT_PATH_INVALID

      static final int NT_STATUS_OBJECT_PATH_INVALID
      The object path is invalid
      See Also:
    • NT_STATUS_OBJECT_PATH_NOT_FOUND

      static final int NT_STATUS_OBJECT_PATH_NOT_FOUND
      The object path was not found
      See Also:
    • NT_STATUS_OBJECT_PATH_SYNTAX_BAD

      static final int NT_STATUS_OBJECT_PATH_SYNTAX_BAD
      The object path syntax is bad
      See Also:
    • NT_STATUS_SHARING_VIOLATION

      static final int NT_STATUS_SHARING_VIOLATION
      The 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_PENDING
      The file is pending deletion
      See Also:
    • NT_STATUS_NO_LOGON_SERVERS

      static final int NT_STATUS_NO_LOGON_SERVERS
      There are currently no logon servers available to service the logon request
      See Also:
    • NT_STATUS_USER_EXISTS

      static final int NT_STATUS_USER_EXISTS
      The specified user already exists
      See Also:
    • NT_STATUS_NO_SUCH_USER

      static final int NT_STATUS_NO_SUCH_USER
      The specified user does not exist
      See Also:
    • NT_STATUS_WRONG_PASSWORD

      static final int NT_STATUS_WRONG_PASSWORD
      The specified network password is not correct
      See Also:
    • NT_STATUS_LOGON_FAILURE

      static final int NT_STATUS_LOGON_FAILURE
      Logon failure: unknown user name or bad password
      See Also:
    • NT_STATUS_ACCOUNT_RESTRICTION

      static final int NT_STATUS_ACCOUNT_RESTRICTION
      Logon failure: user account restriction
      See Also:
    • NT_STATUS_INVALID_LOGON_HOURS

      static final int NT_STATUS_INVALID_LOGON_HOURS
      Logon failure: account logon time restriction violation
      See Also:
    • NT_STATUS_INVALID_WORKSTATION

      static final int NT_STATUS_INVALID_WORKSTATION
      Logon failure: user not allowed to log on to this computer
      See Also:
    • NT_STATUS_PASSWORD_EXPIRED

      static final int NT_STATUS_PASSWORD_EXPIRED
      The user's password has expired
      See Also:
    • NT_STATUS_ACCOUNT_DISABLED

      static final int NT_STATUS_ACCOUNT_DISABLED
      The referenced account is currently disabled
      See Also:
    • NT_STATUS_NONE_MAPPED

      static final int NT_STATUS_NONE_MAPPED
      No mapping between account names and security IDs was done
      See Also:
    • NT_STATUS_INVALID_SID

      static final int NT_STATUS_INVALID_SID
      The security ID structure is invalid
      See Also:
    • NT_STATUS_DISK_FULL

      static final int NT_STATUS_DISK_FULL
      The disk is full
      See Also:
    • NT_STATUS_INSUFFICIENT_RESOURCES

      static final int NT_STATUS_INSUFFICIENT_RESOURCES
      Insufficient resources are available to complete the request
      See Also:
    • NT_STATUS_INSTANCE_NOT_AVAILABLE

      static final int NT_STATUS_INSTANCE_NOT_AVAILABLE
      The requested pipe instance is not available
      See Also:
    • NT_STATUS_PIPE_NOT_AVAILABLE

      static final int NT_STATUS_PIPE_NOT_AVAILABLE
      The pipe is not available
      See Also:
    • NT_STATUS_INVALID_PIPE_STATE

      static final int NT_STATUS_INVALID_PIPE_STATE
      The pipe state is invalid for the requested operation
      See Also:
    • NT_STATUS_PIPE_BUSY

      static final int NT_STATUS_PIPE_BUSY
      All pipe instances are busy
      See Also:
    • NT_STATUS_PIPE_DISCONNECTED

      static final int NT_STATUS_PIPE_DISCONNECTED
      No process is on the other end of the pipe
      See Also:
    • NT_STATUS_PIPE_CLOSING

      static final int NT_STATUS_PIPE_CLOSING
      The pipe is being closed
      See Also:
    • NT_STATUS_PIPE_LISTENING

      static final int NT_STATUS_PIPE_LISTENING
      Waiting 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_DIRECTORY
      The file that was specified is a directory
      See Also:
    • NT_STATUS_DUPLICATE_NAME

      static final int NT_STATUS_DUPLICATE_NAME
      A duplicate name exists on the network
      See Also:
    • NT_STATUS_NETWORK_NAME_DELETED

      static final int NT_STATUS_NETWORK_NAME_DELETED
      The specified network name is no longer available
      See Also:
    • NT_STATUS_NETWORK_ACCESS_DENIED

      static final int NT_STATUS_NETWORK_ACCESS_DENIED
      Network access is denied
      See Also:
    • NT_STATUS_BAD_DEVICE_TYPE

      static final int NT_STATUS_BAD_DEVICE_TYPE
      The network resource type is not correct
      See Also:
    • NT_STATUS_BAD_NETWORK_NAME

      static final int NT_STATUS_BAD_NETWORK_NAME
      The network name cannot be found
      See Also:
    • NT_STATUS_REQUEST_NOT_ACCEPTED

      static final int NT_STATUS_REQUEST_NOT_ACCEPTED
      No 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_INFO
      Indicates 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_DOMAIN
      The specified domain does not exist
      See Also:
    • NT_STATUS_NOT_A_DIRECTORY

      static final int NT_STATUS_NOT_A_DIRECTORY
      The directory name is invalid
      See Also:
    • NT_STATUS_CANNOT_DELETE

      static final int NT_STATUS_CANNOT_DELETE
      The file cannot be deleted
      See Also:
    • NT_STATUS_INVALID_COMPUTER_NAME

      static final int NT_STATUS_INVALID_COMPUTER_NAME
      The format of the specified computer name is invalid
      See Also:
    • NT_STATUS_PIPE_BROKEN

      static final int NT_STATUS_PIPE_BROKEN
      The 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_ALIAS
      The specified local group does not exist
      See Also:
    • NT_STATUS_LOGON_TYPE_NOT_GRANTED

      static final int NT_STATUS_LOGON_TYPE_NOT_GRANTED
      The 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_ACCOUNT
      The 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_FAILURE
      The 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_FAILURE
      The 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_ACCOUNT
      The account used is a computer account
      See Also:
    • NT_STATUS_PASSWORD_MUST_CHANGE

      static final int NT_STATUS_PASSWORD_MUST_CHANGE
      The user must change the password before first logon
      See Also:
    • NT_STATUS_NOT_FOUND

      static final int NT_STATUS_NOT_FOUND
      The object was not found
      See Also:
    • NT_STATUS_ACCOUNT_LOCKED_OUT

      static final int NT_STATUS_ACCOUNT_LOCKED_OUT
      The referenced account is currently locked out
      See Also:
    • NT_STATUS_CONNECTION_REFUSED

      static final int NT_STATUS_CONNECTION_REFUSED
      The remote system refused the network connection
      See Also:
    • NT_STATUS_PATH_NOT_COVERED

      static final int NT_STATUS_PATH_NOT_COVERED
      The 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_HANDLED
      The IO operation on the reparse point failed
      See Also:
    • NT_STATUS_NO_MORE_FILES

      static final int NT_STATUS_NO_MORE_FILES
      No more files were found matching the file specification
      See Also:
    • NT_STATUS_CODES

      static final int[] NT_STATUS_CODES
      Array of all NT status codes defined in this interface
    • NT_STATUS_MESSAGES

      static final String[] NT_STATUS_MESSAGES
      Array of human-readable messages corresponding to NT_STATUS_CODES