Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for DFS (0.27 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/DfsResolver.java

        /**
         * Resolve the location of a DFS path
         *
         * @param domain the domain for the DFS referral
         * @param root the DFS root share
         * @param path the DFS path to resolve
         * @param tf the CIFS context containing configuration and credentials
         * @return the final referral for the given DFS path
         * @throws CIFSException if an error occurs during resolution
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnum.java

    /**
     * MSRPC implementation for enumerating DFS roots.
     * This class provides functionality to enumerate Distributed File System (DFS)
     * roots on a server using the NetDFS RPC interface.
     */
    public class MsrpcDfsRootEnum extends netdfs.NetrDfsEnumEx {
    
        /**
         * Creates a new DFS root enumeration request for the specified server.
         *
         * @param server the server name to enumerate DFS roots from
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top