Module jcifs

Class Smb2Constants

java.lang.Object
org.codelibs.jcifs.smb.internal.smb2.Smb2Constants

public final class Smb2Constants extends Object
Constants for SMB2/SMB3 protocol. This class contains protocol-specific constants, command codes, flags, and other values used in SMB2/SMB3 communication.
Author:
mbechler
  • Field Details

    • SMB2_HEADER_LENGTH

      public static final int SMB2_HEADER_LENGTH
      SMB2 header length in bytes
      See Also:
    • SMB2_NEGOTIATE_SIGNING_ENABLED

      public static final int SMB2_NEGOTIATE_SIGNING_ENABLED
      SMB2 negotiate flag indicating signing is enabled
      See Also:
    • SMB2_NEGOTIATE_SIGNING_REQUIRED

      public static final int SMB2_NEGOTIATE_SIGNING_REQUIRED
      SMB2 negotiate flag indicating signing is required
      See Also:
    • SMB2_DIALECT_0202

      public static final int SMB2_DIALECT_0202
      SMB 2.0.2 dialect (Windows Vista/Server 2008)
      See Also:
    • SMB2_DIALECT_0210

      public static final int SMB2_DIALECT_0210
      SMB 2.1 dialect (Windows 7/Server 2008R2)
      See Also:
    • SMB2_DIALECT_0300

      public static final int SMB2_DIALECT_0300
      SMB 3.0 dialect (Windows 8/Server 2012)
      See Also:
    • SMB2_DIALECT_0302

      public static final int SMB2_DIALECT_0302
      SMB 3.0.2 dialect (Windows 8.1/Server 2012R2)
      See Also:
    • SMB2_DIALECT_0311

      public static final int SMB2_DIALECT_0311
      SMB 3.1.1 dialect (Windows 10/Server 2016)
      See Also:
    • SMB2_DIALECT_ANY

      public static final int SMB2_DIALECT_ANY
      SMB2 wildcard dialect for negotiation
      See Also:
    • SMB2_GLOBAL_CAP_DFS

      public static final int SMB2_GLOBAL_CAP_DFS
      Server supports DFS
      See Also:
    • SMB2_GLOBAL_CAP_LEASING

      public static final int SMB2_GLOBAL_CAP_LEASING
      Server supports leasing
      See Also:
    • SMB2_GLOBAL_CAP_LARGE_MTU

      public static final int SMB2_GLOBAL_CAP_LARGE_MTU
      Server supports multi-credit operations
      See Also:
    • SMB2_GLOBAL_CAP_MULTI_CHANNEL

      public static final int SMB2_GLOBAL_CAP_MULTI_CHANNEL
      Server supports multi-channel connections
      See Also:
    • SMB2_GLOBAL_CAP_PERSISTENT_HANDLES

      public static final int SMB2_GLOBAL_CAP_PERSISTENT_HANDLES
      Server supports persistent handles
      See Also:
    • SMB2_GLOBAL_CAP_DIRECTORY_LEASING

      public static final int SMB2_GLOBAL_CAP_DIRECTORY_LEASING
      Server supports directory leasing
      See Also:
    • SMB2_GLOBAL_CAP_ENCRYPTION

      public static final int SMB2_GLOBAL_CAP_ENCRYPTION
      Server supports SMB3 encryption
      See Also:
    • SMB2_0_INFO_FILE

      public static final byte SMB2_0_INFO_FILE
      File information class
      See Also:
    • SMB2_0_INFO_FILESYSTEM

      public static final byte SMB2_0_INFO_FILESYSTEM
      Filesystem information class
      See Also:
    • SMB2_0_INFO_SECURITY

      public static final byte SMB2_0_INFO_SECURITY
      Security information class
      See Also:
    • SMB2_0_INFO_QUOTA

      public static final byte SMB2_0_INFO_QUOTA
      Quota information class
      See Also:
    • UNSPECIFIED_FILEID

      public static final byte[] UNSPECIFIED_FILEID
      Unspecified file ID value (all 0xFF bytes)
    • UNSPECIFIED_TREEID

      public static final int UNSPECIFIED_TREEID
      Unspecified tree ID value
      See Also:
    • UNSPECIFIED_SESSIONID

      public static final long UNSPECIFIED_SESSIONID
      Unspecified session ID value
      See Also: