Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Dialects (0.05 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

            setFlags2(config.getFlags2());
    
            if (config.getMinimumVersion().isSMB2()) {
                this.dialects = new String[] { "SMB 2.???", "SMB 2.002" };
            } else if (config.getMaximumVersion().isSMB2()) {
                this.dialects = new String[] { "NT LM 0.12", "SMB 2.???", "SMB 2.002" };
            } else {
                this.dialects = new String[] { "NT LM 0.12" };
            }
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertEquals(4, dialects.length); // SMB210, SMB300, SMB302, SMB311
            assertEquals(0x0210, dialects[0]);
            assertEquals(0x0300, dialects[1]);
            assertEquals(0x0302, dialects[2]);
            assertEquals(0x0311, dialects[3]);
        }
    
        @Test
        @DisplayName("Should set client GUID for SMB2.1+")
        void testClientGuidSmb21() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            // Verify dialect count
            assertEquals(manyDialects.length, SMBUtil.readInt2(buffer, 22));
    
            // Verify all dialects
            for (int i = 0; i < manyDialects.length; i++) {
                assertEquals(manyDialects[i], SMBUtil.readInt2(buffer, 24 + i * 2));
            }
        }
    
        @Test
        @DisplayName("Test encode preserves dialect order")
        void testEncodePreservesDialectOrder() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

         * @param dialects
         *            the SMB dialects supported by the client
         */
        public ValidateNegotiateInfoRequest(final int capabilities, final byte[] clientGuid, final int securityMode, final int[] dialects) {
            this.capabilities = capabilities;
            this.clientGuid = clientGuid;
            this.securityMode = securityMode;
            this.dialects = dialects;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

         */
        public int getCapabilities() {
            return this.capabilities;
        }
    
        /**
         * Gets the array of SMB dialect versions supported by the client.
         *
         * @return the dialects
         */
        public int[] getDialects() {
            return this.dialects;
        }
    
        /**
         * Gets the client GUID used for identification.
         *
         * @return the clientGuid
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

        @DisplayName("Should use SMB 3.0.x context for non-3.1.1 dialects")
        void testDeriveKeys_NonSMB311Dialects(int dialect) {
            // When
            byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, preauthIntegrity);
    
            // Then
            assertNotNull(signingKey, "Should derive key for dialect: " + dialect);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

            assertTrue(result.contains("wordCount=0"), "String should contain wordCount=0");
            assertTrue(result.contains("dialects=NT LM 0.12]"), "String should contain dialects=NT LM 0.12]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java

        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            byte[] dialects;
            try {
                dialects = DIALECTS.getBytes("ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
            System.arraycopy(dialects, 0, dst, dstIndex, dialects.length);
            return dialects.length;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 })
            @DisplayName("All specific dialects should be greater than or equal to SMB 2.0.2")
            void testDialectVersionProgression(int dialect) {
                assertTrue(dialect >= Smb2Constants.SMB2_DIALECT_0202,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. README.md

    - **SMB 3.1.1**: Windows 10/Server 2016+ (0x0311) - AES-128-GCM + Pre-Auth Integrity
    
    **Protocol Selection:**
    - Default Range: SMB1 to SMB 3.1.1
    - Automatic Negotiation: Client offers all supported dialects, server selects highest common version
    - Configurable: Min/max versions can be set via configuration properties
    
    ### SMB3 Encryption Support
    - **SMB2 Transform Header**: Encrypted message wrapping
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top