Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 85 for referrals (0.05 sec)

  1. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        /**
         * SMB TRANS2 subcommand for querying path information
         */
        public static final byte TRANS2_QUERY_PATH_INFORMATION = (byte) 0x05;
        /**
         * SMB TRANS2 subcommand for getting DFS referrals
         */
        public static final byte TRANS2_GET_DFS_REFERRAL = (byte) 0x10;
        /**
         * SMB TRANS2 subcommand for querying file information
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/Referral.java

    /**
     * Represents a DFS (Distributed File System) referral entry containing server redirection information.
     * This class handles DFS referral responses that redirect clients to alternate servers for accessing
     * distributed file system resources, supporting multiple DFS versions and referral types.
     */
    public class Referral implements Decodable {
    
        /**
         * Default constructor for Referral.
         */
        public Referral() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

            }
    
            /*
             * We really should do the referral before this in case
             * the redirected target has different capabilities. But
             * the way we have been doing that is to call exists() which
             * calls this method so another technique will be necessary
             * to support DFS referral _to_ Win95/98/ME.
             */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.putShort((short) 0);
    
            referral.decode(testBuffer, 0, testBuffer.length);
    
            assertEquals(3, referral.getVersion());
            assertEquals(100, referral.getSize());
            assertEquals(7, referral.getServerType());
            assertEquals(1, referral.getRFlags());
            assertEquals(20, referral.getProximity());
            assertEquals(3600, referral.getTtl());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

        void testToString() {
            // Given
            DfsReferral referral = new DfsReferral();
            referral.pathConsumed = 20;
            referral.server = "testServer";
            referral.share = "testShare";
            referral.link = "testLink";
            referral.path = "/test/path";
            referral.ttl = 300;
            referral.expiration = 1234567890L;
            referral.resolveHashes = true;
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/DfsReferral.java

        /** Target share for this referral */
        public String share; // Share
        /** The complete UNC path link */
        public String link;
        /** Path relative to tree from which this referral was thrown */
        public String path; // Path relative to tree from which this referral was thrown
        /** Whether to resolve hashes in the path */
        public boolean resolveHashes;
        /** Expiration time for this referral entry */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. 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
         *
         * @return the DFS referral data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            String resolved = "smb://server/share/path";
            when(locator.handleDFSReferral(referral, reqPath)).thenReturn(resolved);
    
            String out = locator.handleDFSReferral(referral, reqPath);
            assertEquals(resolved, out);
    
            // Verify exact argument interaction
            verify(locator, times(1)).handleDFSReferral(referral, reqPath);
            verifyNoMoreInteractions(locator);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java

    /**
     * Trans2 GetDfsReferral response message for DFS referral queries.
     * This class handles the response from a TRANS2_GET_DFS_REFERRAL request, which returns
     * DFS referral information for redirecting clients to distributed file system targets.
     */
    public class Trans2GetDfsReferralResponse extends SmbComTransactionResponse {
    
        /**
         * Indicates that the referral contains a name list.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java

    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
     */
    public class DfsReferralRequestBuffer implements Encodable {
    
    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