Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isShareDfs (0.71 sec)

  1. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            void testIsShareDfs() {
                // Given
                when(mockResponse.isShareDfs()).thenReturn(true);
    
                // When
                boolean isDfs = mockResponse.isShareDfs();
    
                // Then
                assertTrue(isDfs, "Should indicate DFS status");
                verify(mockResponse).isShareDfs();
            }
    
            @Test
            @DisplayName("Should validate tree ID")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            response.readBytesWireFormat(buffer, 0);
            assertTrue(response.isShareDfs());
    
            // Test with DFS_ROOT flag only
            response = new Smb2TreeConnectResponse(mockConfig);
            buffer = createValidResponseBuffer(0, 0x2, 0, 0);
            response.readBytesWireFormat(buffer, 0);
            assertTrue(response.isShareDfs());
    
            // Test with both DFS flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        @Override
        public String getService() {
            return null;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.TreeConnectResponse#isShareDfs()
         */
        @Override
        public boolean isShareDfs() {
            return (this.shareFlags & (SMB2_SHAREFLAG_DFS | SMB2_SHAREFLAG_DFS_ROOT)) != 0
                    || (this.capabilities & SMB2_SHARE_CAP_DFS) == SMB2_SHARE_CAP_DFS;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/TreeConnectResponse.java

         */
        String getService();
    
        /**
         * Indicates whether the connected share is part of a Distributed File System (DFS) namespace.
         *
         * @return whether the share is in DFS
         */
        boolean isShareDfs();
    
        /**
         * Indicates whether the tree connection has been successfully established and has a valid tree ID.
         *
         * @return whether the tree id is a valid one
         */
        boolean isValidTid();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

         */
        public final boolean isSupportSearchBits() {
            return this.supportSearchBits;
        }
    
        /**
         * @return the shareIsInDfs
         */
        @Override
        public final boolean isShareDfs() {
            return this.shareIsInDfs;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.TreeConnectResponse#isValidTid()
         */
        @Override
        public boolean isValidTid() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

                throw new SmbException("IPC signing is enforced, but no signing is available");
            }
    
            this.service = rsvc;
            this.inDfs = response.isShareDfs();
            this.treeNum = TREE_CONN_COUNTER.incrementAndGet();
    
            this.connectionState.set(2); // connected
    
            try {
                validateNegotiation(transport, sess);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
Back to top