Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for isDfsDisabled (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            }
            for (int i = 0; i < 32; i++) {
                testSalt[i] = (byte) (i + 0x10);
            }
    
            // Default configuration for SMB 3.1.1 with encryption
            when(mockConfig.isDfsDisabled()).thenReturn(false);
            when(mockConfig.isEncryptionEnabled()).thenReturn(true);
            when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB202);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DfsImpl.java

        public DfsImpl(final CIFSContext tc) {
        }
    
        private Map<String, Map<String, CacheEntry<DfsReferralDataInternal>>> getTrustedDomains(final CIFSContext tf) throws SmbAuthException {
            if (tf.getConfig().isDfsDisabled() || tf.getCredentials().getUserDomain() == null
                    || tf.getCredentials().getUserDomain().isEmpty()) {
                return null;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            when(mockConfig.isDfsDisabled()).thenReturn(false);
            assertTrue(response.isDFSSupported());
    
            // Test with DFS disabled in config
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertFalse(response.isDFSSupported());
    
            // Test without DFS capability
            when(mockConfig.isDfsDisabled()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.isDfsStrictView();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isDfsDisabled()
         */
        @Override
        public boolean isDfsDisabled() {
            return this.delegate.isDfsDisabled();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isDfsConvertToFQDN()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#isDFSSupported()
         */
        @Override
        public boolean isDFSSupported() {
            return !getConfig().isDfsDisabled() && haveCapabilitiy(SmbConstants.CAP_DFS);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#isSigningNegotiated()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertFalse(config.isForceUnicode());
        }
    
        @Test
        @DisplayName("Test DFS configuration getters")
        void testDfsConfigurationGetters() {
            assertFalse(config.isDfsDisabled());
            assertFalse(config.isDfsStrictView());
            assertEquals(300L, config.getDfsTtl());
            assertFalse(config.isDfsConvertToFQDN());
            assertNull(config.getLogonShare());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#isDFSSupported()
         */
        @Override
        public boolean isDFSSupported() {
            return !getConfig().isDfsDisabled() && haveCapabilitiy(Smb2Constants.SMB2_GLOBAL_CAP_DFS);
        }
    
        /**
         * Checks whether SMB3 encryption is supported by the server.
         *
         * @return whether SMB encryption is supported by the server
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Configuration.java

         */
        boolean isDfsStrictView();
    
        /**
         *
         * Property {@code jcifs.smb.client.dfs.disabled} (boolean, default false)
         *
         * @return whether DFS lookup is disabled
         */
        boolean isDfsDisabled();
    
        /**
         * Enable hack to make kerberos auth work with DFS sending short names
         *
         * This works by appending the domain name to the netbios short name and will fail horribly if this mapping is not
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

            return this.useUnicode;
        }
    
        @Override
        public boolean isForceUnicode() {
            return this.forceUnicode;
        }
    
        @Override
        public boolean isDfsDisabled() {
            return this.dfsDisabled;
        }
    
        @Override
        public boolean isDfsStrictView() {
            return this.dfsStrictView;
        }
    
        @Override
        public long getDfsTtl() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top