Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 90 for DFS (2.09 sec)

  1. src/test/java/jcifs/SmbResourceLocatorTest.java

        @Test
        @DisplayName("Test DFS referral data")
        void testDfsReferralData() throws Exception {
            String url = "smb://server/share/path/";
            DummySmbResourceLocator loc = new DummySmbResourceLocator(url);
    
            // Initially no DFS referral
            assertNull(loc.getDfsReferral());
    
            // Set and retrieve DFS referral
            loc.setDfsReferral(dfs);
            assertSame(dfs, loc.getDfsReferral());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java

     */
    package jcifs.internal.dfs;
    
    import java.nio.charset.StandardCharsets;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * DFS (Distributed File System) referral request buffer encoder.
     * Creates encoded request buffers for DFS referral requests, specifying the maximum
     * referral level and target path for which DFS resolution is requested.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java

    import jcifs.Configuration;
    import jcifs.internal.dfs.DfsReferralResponseBuffer;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    
    /**
     * Trans2 GetDfsReferral response message for DFS referral queries.
     * This class handles the response from a TRANS2_GET_DFS_REFERRAL request, which returns
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/DfsReferral.java

     */
    
    package jcifs.smb1.smb1;
    
    import java.util.Map;
    
    /**
     * Represents a DFS (Distributed File System) referral in SMB1 protocol.
     * This class extends SmbException to provide DFS referral information when a DFS path is encountered.
     */
    public class DfsReferral extends SmbException {
    
        /** Number of characters consumed from the path */
        public int pathConsumed;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/RequestWithPath.java

        /**
         * Sets whether to resolve this request path in DFS.
         *
         * @param resolve true to enable DFS resolution
         */
        void setResolveInDfs(boolean resolve);
    
        /**
         * Checks if this request should be resolved in DFS.
         *
         * @return whether to resolve the request path in DFS
         */
        boolean isResolveInDfs();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DfsImplTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.Credentials;
    import jcifs.SmbTransportPool;
    import jcifs.internal.dfs.DfsReferralDataInternal;
    
    class DfsImplTest {
    
        private DfsImpl dfsImpl;
        private CIFSContext mockContext;
        private Configuration mockConfig;
        private Credentials mockCredentials;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertTrue(newUnc.contains("dfs/path") || newUnc.contains("dfs\\path"));
            assertEquals(dr, l.getDfsReferral());
            assertEquals("dfs-server", l.getServerWithDfs());
            assertEquals("smb://dfs-server/dfs-share" + l.getUNCPath().replace('\\', '/'), l.getDfsPath());
            assertEquals("dfs-share", l.getShare());
    
            // Path consumed negative -> coerced to 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            return Stream.of(Arguments.of(0x0, false), Arguments.of(0x1, true), // DFS
                    Arguments.of(0x2, true), // DFS_ROOT
                    Arguments.of(0x3, true), // DFS | DFS_ROOT
                    Arguments.of(0x8000, false), // ENCRYPT_DATA only
                    Arguments.of(0x8001, true), // ENCRYPT_DATA | DFS
                    Arguments.of(0xFFFF, true) // All flags including DFS
            );
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            // Time to live (2 bytes for v3)
            SMBUtil.writeInt2(300, buffer, 18);
    
            // DFS path offset (2 bytes) - points to string data
            SMBUtil.writeInt2(stringDataStart - 8, buffer, 20); // Offset from start of referral
    
            // DFS alternate path offset (2 bytes)
            SMBUtil.writeInt2(0, buffer, 22);
    
            // Network address offset (2 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/TreeConnectResponse.java

         *
         * @return service
         */
        String getService();
    
        /**
         * Indicates whether the connected share is part of a Distributed File System (DFS) namespace.
         *
         * @return whether the share is in DFS
         */
        boolean isShareDfs();
    
        /**
         * Indicates whether the tree connection has been successfully established and has a valid tree ID.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top