Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Dfs (0.01 sec)

  1. src/test/java/jcifs/smb1/smb1/DfsTest.java

            Dfs.CacheEntry cacheEntry = new Dfs.CacheEntry(300);
            HashMap<String, HashMap> trustedDomains = new HashMap<>();
            trustedDomains.put("domain.com", new HashMap());
            cacheEntry.map = trustedDomains;
            dfs._domains = cacheEntry;
    
            assertTrue(dfs.isTrustedDomain("domain.com", auth));
            assertFalse(dfs.isTrustedDomain("otherdomain.com", auth));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DfsReferral.java

        /** The underlying DFS referral data */
        private final DfsReferralData data;
    
        /**
         * Constructs a DfsReferral with the specified referral data
         *
         * @param data the DFS referral data
         */
        public DfsReferral(final DfsReferralData data) {
            this.data = data;
        }
    
        /**
         * Get the DFS referral data associated with this referral
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

     */
    package jcifs.internal.dfs;
    
    import java.util.Arrays;
    
    import jcifs.Decodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * DFS (Distributed File System) referral response buffer parser.
     * Decodes server responses to DFS referral requests, extracting information about
     * available DFS targets, path consumption details, and referral flags.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top