Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for enableSMB2 (0.08 sec)

  1. src/test/java/jcifs/tests/ContextConfigTest.java

        }
    
    
        @Test
        // #226
        public void testLegacyConfig () throws CIFSException {
            Properties prop1 = new Properties();
            prop1.setProperty("jcifs.smb.client.enableSMB2", "false");
            prop1.setProperty("jcifs.smb.client.disableSMB1", "false");
            PropertyConfiguration p1 = new PropertyConfiguration(prop1);
    
            assertEquals(DialectVersion.SMB1, p1.getMinimumVersion());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/PropertyConfiguration.java

            if ( minVer != null || maxVer != null ) {
                initProtocolVersions(minVer, maxVer);
            }
            else {
                boolean smb2 = Config.getBoolean(p, "jcifs.smb.client.enableSMB2", true);
                boolean nosmb1 = Config.getBoolean(p, "jcifs.smb.client.disableSMB1", false);
                initProtocolVersions(nosmb1 ? DialectVersion.SMB202 : null, !smb2 ? DialectVersion.SMB1 : null);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 8.9K bytes
    - Viewed (0)
Back to top