Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for SMB311 (0.04 sec)

  1. README.md

    # Authentication
    jcifs.smb.client.domain=WORKGROUP
    jcifs.smb.client.username=guest
    jcifs.smb.client.password=
    
    # Protocol versions (SMB1 to SMB 3.1.1)
    jcifs.smb.client.minVersion=SMB1
    jcifs.smb.client.maxVersion=SMB311
    
    # Security
    jcifs.smb.client.signingPreferred=false
    jcifs.smb.client.signingEnforced=false
    jcifs.smb.client.encryptionEnforced=false
    jcifs.smb.client.disablePlainTextPasswords=true
    
    # Performance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/DialectVersion.java

        /**
         * SMB 3.0.2 - Windows 8.1/Server 2012R2
         */
        SMB302(Smb2Constants.SMB2_DIALECT_0302),
    
        /**
         * SMB 3.1.1 - Windows 10/Server 2016
         */
        SMB311(Smb2Constants.SMB2_DIALECT_0311);
    
        private final boolean smb2;
        private final int dialect;
    
        /**
         *
         */
        DialectVersion() {
            this.smb2 = false;
            this.dialect = -1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        }
    
        @Test
        void testWithMockConfiguration() {
            when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1);
            when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311);
    
            trans2QueryPathInfo = new Trans2QueryPathInformation(mockConfig, TEST_FILENAME, TEST_INFO_LEVEL);
    
            assertNotNull(trans2QueryPathInfo);
    
            // Configuration is accessed during initialization
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

                final int reqLen = negotiateWrite(smb2neg, first != null);
                final boolean doPreauth = getContext().getConfig().getMaximumVersion().atLeast(DialectVersion.SMB311);
                if (doPreauth) {
                    negoReqBuffer = new byte[reqLen];
                    System.arraycopy(this.sbuf, 4, negoReqBuffer, 0, reqLen);
                }
    
                negotiatePeek();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  5. 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;
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. 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(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. 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;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                this.supportsEncryption = tc.getConfig().isEncryptionEnabled();
            }
    
            if (this.selectedDialect.atLeast(DialectVersion.SMB311) && !checkNegotiateContexts(r, this.commonCapabilities)) {
                return false;
            }
    
            final int maxBufferSize = tc.getConfig().getTransactionBufferSize();
            this.maxReadSize =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top