Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 93 for 0x00000008 (1.62 sec)

  1. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

         */
        static Stream<org.junit.jupiter.params.provider.Arguments> validInputs() {
            return Stream.of(org.junit.jupiter.params.provider.Arguments.of(0x0001, 0x00000000),
                    org.junit.jupiter.params.provider.Arguments.of(0xFFFF, 0x12345678),
                    org.junit.jupiter.params.provider.Arguments.of(-1, -123456));
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            assertEquals(SmbFile.TYPE_SHARE, otherShare.getType());
    
            // Test with hidden flag (0x80000000) which should be ignored by getType()
            SmbShareInfo hiddenPrinter = new SmbShareInfo("HIDDEN_PRINTER", 1 | 0x80000000, "hidden printer");
            assertEquals(SmbFile.TYPE_PRINTER, hiddenPrinter.getType());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

            buf.enc_ndr_small(5); /* RPC version */
            buf.enc_ndr_small(0); /* minor version */
            buf.enc_ndr_small(ptype);
            buf.enc_ndr_small(flags);
            buf.enc_ndr_long(0x00000010); /* Little-endian / ASCII / IEEE */
            buf.enc_ndr_short(length);
            buf.enc_ndr_short(0); /* length of auth_value */
            buf.enc_ndr_long(call_id);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

        }
    
        /**
         * Test getErrorCode() method.
         */
        @Test
        void testGetErrorCode() {
            int errorCode = 0x00000005; // DCERPC_FAULT_ACCESS_DENIED
            DcerpcException exception = new DcerpcException(errorCode);
            assertEquals(errorCode, exception.getErrorCode(), "getErrorCode() should return the correct error code.");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                testBlock.setErrorCode(0x00000001);
    
                String result = testBlock.toString();
    
                assertTrue(result.contains("command=SMB_COM_TREE_CONNECT_ANDX"));
                assertTrue(result.contains("errorCode="));
                // Should show non-zero error code
                assertTrue(result.contains("errorCode=0x00000001") || result.contains("errorCode=1"));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            final byte[] temp = new byte[28 + targetInfoLength + 4];
    
            Encdec.enc_uint32le(0x00000101, temp, 0); // Header
            Encdec.enc_uint32le(0x00000000, temp, 4); // Reserved
            Encdec.enc_uint64le(nanos1601, temp, 8);
            System.arraycopy(clientChallenge, 0, temp, 16, 8);
            Encdec.enc_uint32le(0x00000000, temp, 24); // Unknown
            if (targetInfo != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

         *         value and the corresponding little-endian byte array.
         */
        static java.util.stream.Stream<Arguments> int32Provider() {
            return java.util.stream.Stream.of(Arguments.of(0x00000000, new byte[] { 0x00, 0x00, 0x00, 0x00 }),
                    Arguments.of(0x12345678, new byte[] { 0x78, 0x56, 0x34, 0x12 }),
                    Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        private int maxMpxCount;
        private int snd_buf_size;
        private int recv_buf_size;
        private int tx_buf_size;
    
        private int capabilities;
        private final int sessionKey = 0x00000000;
        private boolean useUnicode;
    
        /**
         * Creates a new SMB1 negotiate response.
         *
         * @param ctx the CIFS context
         */
        public SmbComNegotiateResponse(final CIFSContext ctx) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            SMBUtil.writeInt4(status, buf, start + 8);
            // Command at +12
            SMBUtil.writeInt2(command, buf, start + 12);
            // Flags at +16: server-to-redirector
            SMBUtil.writeInt4(0x00000001, buf, start + 16);
            // SessionId at +40 (sync header)
            SMBUtil.writeInt8(sessionId, buf, start + 40);
        }
    
        /**
         * Build a SESSION_SETUP response body with specified flags and security blob.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtStatus.java

        /** The requested operation is not implemented */
        int NT_STATUS_NOT_IMPLEMENTED = 0xC0000002;
        /** The specified information class is invalid */
        int NT_STATUS_INVALID_INFO_CLASS = 0xC0000003;
        /** Invalid access to memory location */
        int NT_STATUS_ACCESS_VIOLATION = 0xC0000005;
        /** The handle is invalid */
        int NT_STATUS_INVALID_HANDLE = 0xC0000008;
        /** The parameter is incorrect */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top