Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 21 for SMB311 (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                jcifs.DialectVersion dialect = transport.getNegotiateResponse().getSelectedDialect();
                return transport.isSMB2() && dialect.atLeast(jcifs.DialectVersion.SMB300) && !dialect.atLeast(jcifs.DialectVersion.SMB311);
            } catch (final SmbException e) {
                log.debug("Failed to connect for determining SMB 3.0 support", e);
                return false;
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            }
    
            final List<NegotiateContextRequest> negoContexts = new LinkedList<>();
            if (config.getMaximumVersion() != null && config.getMaximumVersion().atLeast(DialectVersion.SMB311)) {
                final byte[] salt = new byte[32];
                config.getRandom().nextBytes(salt);
                negoContexts.add(
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            when(mockConfig.getMaximumBufferSize()).thenReturn(65535);
            when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB1);
            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311);
            response = new TestSmbComNtTransactionResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with Configuration")
        void testConstructor() {
            assertNotNull(response);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

                return;
            }
    
            final Smb2NegotiateResponse nego = (Smb2NegotiateResponse) trans.getNegotiateResponse();
            if (nego.getSelectedDialect().atLeast(DialectVersion.SMB311)) {
                // have preauth integrity instead
                log.debug("Secure negotiation does not apply, is SMB3.1");
                return;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  5. src/test/java/jcifs/config/DelegatingConfigurationTest.java

        void testProtocolVersionDelegation() {
            // Given
            DialectVersion minVersion = DialectVersion.SMB1;
            DialectVersion maxVersion = DialectVersion.SMB311;
            when(mockDelegate.getMinimumVersion()).thenReturn(minVersion);
            when(mockDelegate.getMaximumVersion()).thenReturn(maxVersion);
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        void testWithMockConfiguration() {
            when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1);
            when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311);
    
            trans2QueryFSInfo = new Trans2QueryFSInformation(mockConfig, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            assertNotNull(trans2QueryFSInfo);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        void testWithMockConfiguration() {
            when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1);
            when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311);
    
            trans2SetFileInfo = new Trans2SetFileInformation(mockConfig, TEST_FID, mockFileInfo);
    
            assertNotNull(trans2SetFileInfo);
    
            // Configuration is accessed during initialization
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

        }
    
        private int getAuthTagLength() {
            return 16; // All SMB3 ciphers use 16-byte authentication tags
        }
    
        private int getTransformFlags() {
            if (this.dialect.atLeast(DialectVersion.SMB311)) {
                return TRANSFORM_FLAG_ENCRYPTED;
            }
            // For SMB 3.0/3.0.2, this field contains the encryption algorithm
            return this.cipherId;
        }
    
        private byte[] getEncryptionKey() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

            // Default to SMB2 minimum for security - SMB1 is deprecated and insecure
            this.minVersion = min != null ? min : DialectVersion.SMB202;
            this.maxVersion = max != null ? max : DialectVersion.SMB311;
    
            if (this.minVersion.atLeast(this.maxVersion)) {
                this.maxVersion = this.minVersion;
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

            boolean anonymous = this.credentials.isAnonymous();
            long sessId = 0;
    
            boolean preauthIntegrity = negoResp.getSelectedDialect().atLeast(DialectVersion.SMB311);
            this.preauthIntegrityHash = preauthIntegrity ? trans.getPreauthIntegrityHash() : null;
    
            if (this.preauthIntegrityHash != null && log.isDebugEnabled()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
Back to Top