Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 85 for referrals (1.33 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                    impl.fixupHost("server2.example.com");
                    impl.fixupDomain("otherdomain.com");
                });
            }
    
            @Test
            @DisplayName("Should handle linked list of referrals")
            void testLinkedListOfReferrals() {
                DfsReferralDataImpl first = createInitializedDfsReferralDataImpl();
                DfsReferralDataImpl second = createInitializedDfsReferralDataImpl();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/Kerb5Authenticator.java

     *
     * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs.
     * This can be a problem if using DFS in it's default configuration as they still return 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.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

     * DFS referrals. (E.g. a resource with a DFS root's parent will still point to the DFS root not the share it's actually
     * located in).
     * - share + uncpath within it: This is the relevant information for most SMB requests. Both are adjusted by DFS
     * referrals. Nested resources will inherit the information already resolved by the parent resource.
     *
     * Invariant:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTransportImplTest.java

            assertNotNull(s2);
            assertEquals(1, transport.getNumSessions(), "Should reuse existing session");
            s2.close();
        }
    
        @Test
        @DisplayName("DFS referrals: invalid double-slash prefix triggers exception")
        void dfsReferrals_invalidPath() {
            CIFSException ex = assertThrows(CIFSException.class, () -> transport.getDfsReferrals(ctx, "\\\\server\\share", null, null, 1));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top