Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for 445 (0.01 sec)

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

        void testPooledVsNonPooledConnections() {
            // When: Create pooled and non-pooled connections
            SmbTransportImpl pooled = pool.getSmbTransport(ctx, address, 445, false);
            SmbTransportImpl nonPooled = pool.getSmbTransport(ctx, address, 445, true);
    
            // Then: Pool should track pooled but not non-pooled
            assertTrue(pool.contains(pooled), "Pooled connection should be tracked");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportImplTest.java

            when(address.getHostName()).thenReturn("localhost");
    
            // Create the transport with safe defaults (no real sockets)
            transport = new SmbTransportImpl(ctx, address, 445, null, 0, false);
    
            // Reset MID to a known starting point for deterministic behavior
            setField(transport, "mid", new AtomicLong());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

     * - rdma.test.port=445 (target port, defaults to 445)
     */
    public class RdmaIntegrationTest {
    
        private String testServer;
        private int testPort;
        private CIFSContext testContext;
    
        @BeforeEach
        public void setUp() throws Exception {
            testServer = System.getProperty("rdma.test.server");
            String portStr = System.getProperty("rdma.test.port", "445");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            }
    
            if (ipv6) {
                // IPv6 sockaddr_in6 structure (Windows AF_INET6 = 23)
                SMBUtil.writeInt2(23, buffer, offset); // sa_family: AF_INET6
                SMBUtil.writeInt2(445, buffer, offset + 2); // sin6_port
                SMBUtil.writeInt4(0, buffer, offset + 4); // sin6_flowinfo
                System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16); // sin6_addr
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        void testContextInformation() {
            // Given
            Map<String, Object> initialContext = new HashMap<>();
            initialContext.put("host", "server.example.com");
            initialContext.put("port", 445);
    
            exception = new SmbOperationException(SmbOperationException.ErrorCode.ACCESS_DENIED, "Permission denied", null,
                    SmbOperationException.RetryPolicy.DEFAULT, initialContext);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/PathValidatorTest.java

            assertTrue(normalized.contains("user:pass@"));
        }
    
        @Test
        public void testSmbUrlWithPort() throws Exception {
            String url = "smb://server:445/share";
            String normalized = validator.validateSmbUrl(url);
            // Standard port 445 might be removed in normalization
            assertTrue(normalized.contains("server"));
        }
    
        @Test
        public void testSmbUrlWithNonStandardPort() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbConstantsTest.java

     */
    @DisplayName("SmbConstants Tests")
    class SmbConstantsTest extends BaseTest {
    
        @Test
        @DisplayName("Should define default connection constants")
        void testDefaultConstants() {
            assertEquals(445, SmbConstants.DEFAULT_PORT);
            assertEquals(10, SmbConstants.DEFAULT_MAX_MPX_COUNT);
            assertEquals(30000, SmbConstants.DEFAULT_RESPONSE_TIMEOUT);
            assertEquals(35000, SmbConstants.DEFAULT_SO_TIMEOUT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    && (port == 0 || port == this.port ||
                    /* port 139 is ok if 445 was requested */
                            port == 445 && this.port == 139)
                    && (localAddr == this.localAddr || localAddr != null && localAddr.equals(this.localAddr)) && localPort == this.localPort;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            when(mockDelegate.getBroadcastAddress()).thenReturn(broadcastAddr);
            when(mockDelegate.getWinsServers()).thenReturn(winsServers);
            when(mockDelegate.getLocalPort()).thenReturn(445);
    
            // When
            InetAddress resultLocalAddr = delegatingConfig.getLocalAddr();
            InetAddress resultBroadcastAddr = delegatingConfig.getBroadcastAddress();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            when(address.getHostAddress()).thenReturn("127.0.0.1");
            when(address.getHostName()).thenReturn("testhost");
    
            transport = new SmbTransportImpl(context, address, 445, null, 0, false);
        }
    
        /**
         * Test that pre-auth integrity hash is properly synchronized
         */
        @Test
        @DisplayName("Pre-auth integrity hash should be thread-safe")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top