Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 88 for Dfs (3.92 sec)

  1. src/main/java/jcifs/smb/SmbFile.java

        }
    
        /**
         * If the path of this <code>SmbFile</code> falls within a DFS volume,
         * this method will return the referral path to which it maps. Otherwise
         * <code>null</code> is returned.
         *
         * @return URL to the DFS volume
         * @throws SmbException if an error occurs while resolving the DFS path
         */
        public String getDfsPath() throws SmbException {
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                assertEquals("testServer", handle.getServer());
            }
    
            @Test
            @DisplayName("Should return correct server name with DFS")
            void testGetServerWithDfs() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
                when(mockSmbResourceLocator.getServerWithDfs()).thenReturn("testServerDfs");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            verify(treeConnection).getSession();
        }
    
        @Test
        @DisplayName("ensureDFSResolved forwards to tree connection with locator")
        void ensureDFSResolvedDelegates() throws Exception {
            // Confirms DFS resolution is delegated with the correct locator
            // Act
            handle.ensureDFSResolved();
            // Assert & interaction verify
            verify(treeConnection).ensureDFSResolved(resourceLoc);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            if (tc.getDfs().isTrustedDomain(tc, locator.getServer())) {
                /*
                 * The server name is actually the name of a trusted
                 * domain. Add DFS roots to the list.
                 */
                try {
                    entries = doDfsRootEnum(tc, locator, locator.getAddress());
                    for (final FileEntry e : entries) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Prepare test data with realistic SMB3 values
            byte[] buffer = new byte[50];
            int bufferIndex = 0;
    
            // SMB3 capabilities
            int testCapabilities = 0x0000002F; // DFS, LEASING, LARGE_MTU, MULTI_CHANNEL, PERSISTENT_HANDLES, DIRECTORY_LEASING
    
            // Random but realistic GUID
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportImplTest.java

            assertNotNull(s2);
            assertEquals(1, transport.getNumSessions(), "Should reuse existing session");
            s2.close();
        }
    
        @Test
        @DisplayName("DFS referrals: invalid double-slash prefix triggers exception")
        void dfsReferrals_invalidPath() {
            CIFSException ex = assertThrows(CIFSException.class, () -> transport.getDfsReferrals(ctx, "\\\\server\\share", null, null, 1));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbConstants.java

         */
        int CAP_LOCK_AND_READ = 0x0100;
        /**
         * NT find operations are supported capability.
         */
        int CAP_NT_FIND = 0x0200;
        /**
         * DFS operations are supported capability.
         */
        int CAP_DFS = 0x1000;
        /**
         * Large read operations are supported capability.
         */
        int CAP_LARGE_READX = 0x4000;
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtStatus.java

        /** The object was not found */
        int NT_STATUS_NOT_FOUND = 0xC0000225;
        /** The referenced account is currently locked out */
        int NT_STATUS_ACCOUNT_LOCKED_OUT = 0xC0000234;
        /** The pathname does not traverse a DFS junction */
        int NT_STATUS_PATH_NOT_COVERED = 0xC0000257;
        /** The IO operation on the reparse point failed */
        int NT_STATUS_IO_REPARSE_TAG_NOT_HANDLED = 0xC0000279;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. docs/SMB3_IMPLEMENTATION_PLAN.md

    - Compatibility testing with Windows Server 2016/2019/2022
    
    ### Test Infrastructure Requirements
    - Windows Server test environment with:
      - Failover clustering
      - RDMA-capable network adapters
      - DFS namespace
      - Multiple network interfaces
    
    ## Configuration Properties
    
    ```properties
    # Lease configuration
    jcifs.smb.client.useLeases=true
    jcifs.smb.client.leaseTimeout=30000
    
    # Persistent handles
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

    package jcifs.internal.dfs;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top