Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 93 for 0x00000004 (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

         */
        private static byte[] buildSmb2Header() {
            byte[] header = Arrays.copyOf(SMBUtil.SMB2_HEADER, SMBUtil.SMB2_HEADER.length);
            // Mark as server->client response for realism
            SMBUtil.writeInt4(0x00000001, header, 16); // Flags
            // Command SMB2_CREATE (0x0005)
            SMBUtil.writeInt2(0x0005, header, 12);
            // Some message id
            SMBUtil.writeInt8(1L, header, 24);
            return header;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/MultiChannelManager.java

                transport.ensureConnected();
    
                // Verify multi-channel capability (SMB3+ required)
                if (!transport.isSMB2() || !transport.hasCapability(0x00000008)) { // SMB2_GLOBAL_CAP_MULTI_CHANNEL
                    throw new CIFSException("Server does not support SMB multi-channel capability");
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtStatus.java

        /** The handle is invalid */
        int NT_STATUS_INVALID_HANDLE = 0xC0000008;
        /** The parameter is incorrect */
        int NT_STATUS_INVALID_PARAMETER = 0xC000000d;
        /** The system cannot find the device specified */
        int NT_STATUS_NO_SUCH_DEVICE = 0xC000000e;
        /** The system cannot find the file specified */
        int NT_STATUS_NO_SUCH_FILE = 0xC000000f;
        /** More processing is required to complete this request */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        @DisplayName("Test readDataWireFormat with single share")
        void testReadDataWireFormatSingleShare() throws Exception {
            // Prepare test data
            String shareName = "SHARE1";
            int shareType = 0x00000000; // Disk share
            String remark = "Test share";
    
            // Calculate buffer size
            int shareNameSize = 14; // 13 bytes + null terminator (fixed field)
            int typeSize = 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  5. docs/smb3-features/05-rdma-smb-direct-design.md

        FAST_REGISTRATION   // Fast memory region registration
    }
    
    public class RdmaCapabilities {
        // RDMA transform capabilities
        public static final int SMB_DIRECT_RESPONSE_REQUESTED = 0x00000001;
        
        // Default RDMA settings
        public static final int DEFAULT_RDMA_READ_WRITE_SIZE = 1048576;  // 1MB
        public static final int DEFAULT_RECEIVE_CREDIT_MAX = 255;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            if (!context.getConfig().isUseMultiChannel()) {
                return false;
            }
    
            // MS-SMB2: Check if server advertised SMB2_GLOBAL_CAP_MULTI_CHANNEL (0x00000008)
            // This capability should be checked from the negotiate response
            // The server capabilities are typically stored in the session or transport
    
            // TODO: Integration point - check server capabilities
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        }
    
        private void prepareSimpleSid(byte[] buffer, int offset) {
            buffer[offset] = 0x01; // revision
            buffer[offset + 1] = 0x01; // sub-authority count
            // Identifier authority (0x00-00-00-00-00-01)
            buffer[offset + 2] = 0x00;
            buffer[offset + 3] = 0x00;
            buffer[offset + 4] = 0x00;
            buffer[offset + 5] = 0x00;
            buffer[offset + 6] = 0x00;
            buffer[offset + 7] = 0x01;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(null, storedFileId);
        }
    
        @Test
        @DisplayName("setCloseFlags should update close flags")
        void testSetCloseFlags() throws Exception {
            int testFlags = 0x00000001; // SMB2_CLOSE_FLAG_POSTQUERY_ATTRIB
            request.setCloseFlags(testFlags);
    
            Field closeFlagsField = Smb2CloseRequest.class.getDeclaredField("closeFlags");
            closeFlagsField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        }
    
        @Test
        @DisplayName("Test file attributes setter")
        void testSetFileAttributes() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            int attributes = 0x00000020; // FILE_ATTRIBUTE_ARCHIVE
            request.setFileAttributes(attributes);
    
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. docs/smb3-features/02-persistent-handles-design.md

            this.value = value;
        }
    }
    ```
    
    ### 3.2 Handle Capabilities
    ```java
    public class Smb2HandleCapabilities {
        // Durable handle flags
        public static final int SMB2_DHANDLE_FLAG_PERSISTENT = 0x00000002;
        
        // Timeout values (milliseconds)
        public static final long DEFAULT_DURABLE_TIMEOUT = 120000;  // 2 minutes
        public static final long MAX_DURABLE_TIMEOUT = 300000;      // 5 minutes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top