Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for IPC$ (0.12 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        }
    
        DfsReferral getDfsReferrals(final NtlmPasswordAuthentication auth, final String path, int rn) throws SmbException {
            final SmbTree ipc = getSmbSession(auth).getSmbTree("IPC$", null);
            final Trans2GetDfsReferralResponse resp = new Trans2GetDfsReferralResponse();
            ipc.send(new Trans2GetDfsReferral(path), resp);
    
            if (resp.numReferrals == 0) {
                return null;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/SecurityConfigurationTest.java

         */
        @Test
        public void testSigningConfiguration() throws CIFSException {
            BaseConfiguration config = new BaseConfiguration(true);
    
            // Verify IPC signing is enforced (this is a security requirement)
            assertTrue("IPC signing should be enforced for security", config.isIpcSigningEnforced());
        }
    
        /**
         * Test secure negotiation requirement for SMB3
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/PathValidatorTest.java

            String adminShare = validator.validatePath("\\\\server\\C$\\folder");
            assertEquals("\\server\\C$\\folder", adminShare);
    
            // IPC share should be allowed
            String ipcShare = validator.validatePath("\\\\server\\IPC$");
            assertEquals("\\server\\IPC$", ipcShare);
        }
    
        @Test
        public void testCaseInsensitivity() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionImplTest.java

        void testGetSmbTreeReuses() {
            SmbSessionImpl session = newSession();
            SmbTreeImpl t1 = session.getSmbTree("IPC$", null);
            SmbTreeImpl t2 = session.getSmbTree("ipc$", null); // case-insensitive match
            assertSame(t1, t2, "Expected same tree instance to be reused");
        }
    
        @ParameterizedTest
        @NullAndEmptySource
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/DfsResolverTest.java

        }
    
        @Test
        void testResolve_IpcRoot() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(false);
            assertNull(dfsResolver.resolve(mockContext, "anyDomain", "IPC$", "anyPath"));
        }
    
        @Test
        void testResolve_NullDomain() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

        }
    
        @Test
        void testSendWithDfsIpcService() throws SmbException {
            SmbTree tree = new SmbTree(session, "testShare", "IPC");
            tree.connectionState = 2; // Connected state
            tree.tid = 123;
            tree.inDfs = true;
    
            // Create request with path
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

         */
        @Override
        public boolean isIPC() {
            final String shr = this.getShare();
            if (shr == null || "IPC$".equals(getShare())) {
                if (log.isDebugEnabled()) {
                    log.debug("Share is IPC " + this.share);
                }
                return true;
            }
            return false;
        }
    
        /**
         * @param t
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/TreeConnectResponse.java

         *
         * @return tree id
         */
        int getTid();
    
        /**
         * Returns the service type of the connected share (e.g., A: for disk, LPT1: for printer, IPC for named pipe).
         *
         * @return service
         */
        String getService();
    
        /**
         * Indicates whether the connected share is part of a Distributed File System (DFS) namespace.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbSession.java

                    if (netbiosName != null && tcax.path.endsWith("\\IPC$")) {
                        /* Some pipes may require that the hostname in the tree connect
                         * be the netbios name. So if we have the netbios server name
                         * from the NTLMSSP type 2 message, and the share is IPC$, we
                         * assert that the tree connect path uses the netbios hostname.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            void testGetService() throws Exception {
                // Given
                setPrivateField(response, "service", "IPC");
    
                // When
                String service = response.getService();
    
                // Then
                assertEquals("IPC", service, "Should return the service type");
            }
    
            @Test
            @DisplayName("Should return native file system")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top