Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  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));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.6K bytes
    - Click Count (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
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.8K bytes
    - Click Count (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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. 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());
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. 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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. 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
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. 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
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (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();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top