Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for getSmbTransport (0.08 sec)

  1. src/test/java/jcifs/smb/DfsImplTest.java

            when(mockConfig.getDfsTtl()).thenReturn(300L);
    
            // Mock transport to throw IOException - simulating connection failure
            when(mockTransportPool.getSmbTransport(any(CIFSContext.class), anyString(), anyInt(), anyBoolean(), anyBoolean()))
                    .thenThrow(new IOException("Connection failed"));
    
            // Instantiate the class under test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DfsImpl.java

                // https://lists.samba.org/archive/samba-technical/2009-August/066486.html
                // UniAddress addr = UniAddress.getByName(authDomain, true, tf);
                // SmbTransport trans = tf.getTransportPool().getSmbTransport(tf, addr, 0);
                try (SmbTransport dc = getDc(tf, authDomain)) {
                    final CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry =
    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/main/java/jcifs/smb/SmbTreeConnection.java

                            log.debug("Using exclusive transport for " + this);
                        }
                        this.exclusiveTransport = this.ctx.getTransportPool()
                                .getSmbTransport(this.ctx, host, loc.getPort(), true, loc.shouldForceSigning())
                                .unwrap(SmbTransportInternal.class);
                        final SmbTransportInternal trans = this.exclusiveTransport;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmHttpFilter.java

            final UniAddress dc = new UniAddress(addr);
            try (SmbTransportInternal trans = tf.getTransportPool()
                    .getSmbTransport(tf, dc, 0, false, tf.hasDefaultCredentials() && tf.getConfig().isIpcSigningEnforced())
                    .unwrap(SmbTransportInternal.class)) {
                if (!tf.hasDefaultCredentials()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

                            log.println("DFS redirect: " + dr);
                        }
    
                        final UniAddress addr = UniAddress.getByName(dr.server);
                        final SmbTransport trans = SmbTransport.getSmbTransport(addr, url.getPort());
                        /* This is a key point. This is where we set the "tree" of this file which
                         * is like changing the rug out from underneath our feet.
                         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top