Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for referral (0.04 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java

         *
         * @param config the configuration to use
         * @param filename the DFS path to get referrals for
         */
        public Trans2GetDfsReferral(final Configuration config, final String filename) {
            this(config, filename, 3);
        }
    
        /**
         * Constructs a Trans2GetDfsReferral request with specified referral level.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        }
    
        /**
         * Set the referral data from a referral response
         *
         * @param ref the referral response
         * @param reqPath the requested path
         * @param expire the expiration time
         * @param consumed the number of characters consumed from the path
         * @return referral data
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

        // Helper methods for creating test buffers
    
        private byte[] createValidDfsReferralBuffer() {
            // Create a buffer representing a valid DFS referral response
            // Need to include space for actual string data
            int stringDataStart = 28; // After the referral structure
            String testPath = "\\server\\share";
            byte[] pathBytes = testPath.getBytes(java.nio.charset.StandardCharsets.UTF_16LE);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DfsImpl.java

                final SmbTransportInternal trans = dc.unwrap(SmbTransportInternal.class);
                // the tconHostName is from the DC referral, that referral must be resolved
                // before following deeper ones. Otherwise e.g. samba will return a broken
                // referral.
                synchronized (trans) {
                    try {
                        // ensure connected
                        trans.ensureConnected();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeConnection.java

        }
    
        /**
         *
         * @param loc
         * @param host
         * @param referral
         * @return tree handle
         * @throws IOException
         */
        public synchronized SmbTreeHandleImpl connectHost(final SmbResourceLocatorImpl loc, String host, final DfsReferralData referral)
                throws IOException {
            String targetDomain = ctx.getCredentials().getUserDomain();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/DfsResolver.java

         */
        DfsReferralData resolve(CIFSContext tf, String domain, String root, String path) throws CIFSException;
    
        /**
         * Add a referral to the cache
         *
         * @param path the DFS path for this referral
         * @param dr the DFS referral data to cache
         * @param tc the CIFS context containing configuration
         */
        void cache(CIFSContext tc, String path, DfsReferralData dr);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top