Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for referrals (0.12 sec)

  1. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

            bufferIndex += 2;
            this.tflags = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.referrals = new Referral[this.numReferrals];
            for (int ri = 0; ri < this.numReferrals; ri++) {
                this.referrals[ri] = new Referral();
                bufferIndex += this.referrals[ri].decode(buffer, bufferIndex, len);
            }
    
            return bufferIndex - start;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/DfsTest.java

            lenient().when(SmbTransport.getSmbTransport(uniAddress, 0)).thenReturn(smbTransport);
    
            DfsReferral referral = new DfsReferral();
            referral.server = "dc1.domain.com";
            referral.next = referral;
            lenient().when(smbTransport.getDfsReferrals(auth, "\\domain.com", 1)).thenReturn(referral);
    
            UniAddress dcAddress = mock(UniAddress.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

            bufferIndex += 2;
            flags = readInt2(buffer, bufferIndex);
            bufferIndex += 4;
    
            referrals = new Referral[numReferrals];
            for (int ri = 0; ri < numReferrals; ri++) {
                referrals[ri] = new Referral();
                bufferIndex += referrals[ri].readWireFormat(buffer, bufferIndex, len);
            }
    
            return bufferIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/DfsReferralData.java

        /**
         * Get the server this referral points to
         *
         * @return the server this referral points to
         */
        String getServer();
    
        /**
         * Get the domain this referral is for
         *
         * @return the domain this referral is for
         */
        String getDomain();
    
        /**
         * Get the share this referral points to
         *
         * @return the share this referral points to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

     */
    public interface SmbTreeHandleInternal extends SmbTreeHandle {
    
        /**
         * Releases this tree handle back to the pool for reuse
         */
        void release();
    
        /**
         * Ensures that DFS referrals have been resolved for this tree
         * @throws SmbException if an SMB-specific error occurs
         * @throws CIFSException if a general CIFS error occurs
         */
        void ensureDFSResolved() throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportInternal.java

         */
        boolean ensureConnected() throws IOException;
    
        /**
         * Gets DFS referrals for the specified path.
         *
         * @param ctx the CIFS context
         * @param name the DFS path to resolve
         * @param targetHost the target host name
         * @param targetDomain the target domain
         * @param rn the referral number
         * @return dfs referral
         * @throws SmbException if an SMB error occurs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

        /**
         * Check if this referral needs to be resolved further
         *
         * @return whether this refrral needs to be resolved further
         */
        boolean isIntermediate();
    
        /**
         * Combine this referral with another to form a chain
         *
         * @param next the referral to combine with
         * @return new referral, combining a chain of referrals
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

     *
     * @author mbechler
     *
     */
    public class Smb2IoctlRequest extends ServerMessageBlock2Request<Smb2IoctlResponse> implements RequestWithFileId {
    
        /**
         * Function code to retrieve DFS referrals
         */
        public static final int FSCTL_DFS_GET_REFERRALS = 0x0060194;
        /**
         * Function code to peek at named pipe data without removing it
         */
        public static final int FSCTL_PIPE_PEEK = 0x0011400C;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/JAASAuthenticator.java

     *
     * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs/Realm.
     * This can be a problem if using DFS in it's default configuration as that still returns referrals in short form.
     * See <a href="https://support.microsoft.com/en-us/kb/244380">KB-244380</a> for compatible server configuration.
     * See {@link jcifs.Configuration#isDfsConvertToFQDN()} for a workaround.
     *
     * @author mbechler
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top