Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 231 for share3 (1.92 sec)

  1. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 NetShareEnum response message for enumerating network shares on a server.
     * This class handles the response data from a NetShareEnum RPC call, which returns
     * information about all available shares on the target server.
     */
    public class NetShareEnumResponse extends SmbComTransactionResponse {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertEquals(path, entryByPath.getPath());
        }
    
        @Test
        @DisplayName("Should release all leases")
        void testReleaseAll() {
            String path1 = "/share/file1.txt";
            String path2 = "/share/file2.txt";
    
            Smb2LeaseKey key1 = leaseManager.requestLease(path1, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/DfsReferral.java

        public int pathConsumed;
        /** Time to live for this referral in seconds */
        public long ttl;
        /** Target server for this referral */
        public String server; // Server
        /** 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 */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            @Test
            @DisplayName("Should handle share type")
            void testShareType() throws Exception {
                // Test DISK share type
                setPrivateField(response, "shareType", Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK);
                assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK, response.getShareType(), "Should handle DISK share type");
    
                // Test PIPE share type
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/HandlerTest.java

        static Stream<Arguments> portSpecs() {
            return Stream.of(
                    // spec, expectedPort
                    Arguments.of("smb://server/share", SmbConstants.DEFAULT_PORT), Arguments.of("smb://server:445/share", 445),
                    Arguments.of("smb://server:139/share", 139));
        }
    
        @ParameterizedTest(name = "parseURL: {0} -> port {1}")
        @MethodSource("portSpecs")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbConstants.java

         * this file is open. This constant may be logically OR'd with other share
         * access flags.
         */
        int FILE_SHARE_READ = 0x01;
        /**
         * When specified as the <code>shareAccess</code> constructor parameter,
         * other SMB clients will be permitted to write to the target file while
         * this file is open. This constant may be logically OR'd with other share
         * access flags.
         */
        int FILE_SHARE_WRITE = 0x02;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        void testToString() {
            // Given
            exception = new SmbOperationException(SmbOperationException.ErrorCode.ACCESS_DENIED, "Cannot access share");
            exception.withContext("share", "\\\\server\\share");
            exception.withContext("user", "john");
    
            // When
            String str = exception.toString();
    
            // Then
            assertNotNull(str);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. docs/smb3-features/06-witness-protocol-design.md

        RESOURCE_CHANGE(1),        // Resource state changed
        CLIENT_MOVE(2),           // Client should move to different node
        SHARE_MOVE(3),            // Share moved to different node
        IP_CHANGE(4),             // IP address changed
        SHARE_DELETE(5),          // Share deleted
        NODE_UNAVAILABLE(6),      // Cluster node unavailable
        NODE_AVAILABLE(7);        // Cluster node available
        
        private final int value;
        
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DfsImplTest.java

            when(mockReferral.getPathConsumed()).thenReturn(15); // e.g., "\\\\server\\share".length()
            when(mockReferral.next()).thenReturn(mockReferral); // Simple loop for the do-while
            assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "\\\\server\\share\\path", mockReferral));
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/RequestWithPathTest.java

            testImplementation.setFullUNCPath(expectedDomain, "server", "\\\\server\\share\\path");
            assertEquals(expectedDomain, testImplementation.getDomain());
        }
    
        @Test
        @DisplayName("Test getFullUNCPath returns complete UNC path")
        void testGetFullUNCPath() {
            // Test with mock
            String expectedUNCPath = "\\\\server\\share\\folder\\file.txt";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top