Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 533 for denied (0.05 sec)

  1. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            // Arrange
            SmbFile dest = mock(SmbFile.class);
            SmbFileHandleImpl handle = mock(SmbFileHandleImpl.class);
            SmbAuthException authEx = new SmbAuthException("denied");
    
            when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(authEx) // first attempt fails with auth
                    .thenReturn(handle); // second attempt succeeds
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

        /** Buffer provided is insufficient */
        public static final int ERROR_INSUFFICIENT_BUFFER = 0x0000007A;
        /** Operation is not supported */
        public static final int ERROR_NOT_SUPPORTED = 0x00000032;
        /** Access denied to perform the operation */
        public static final int ERROR_ACCESS_DENIED = 0x00000005;
        /** Invalid state for the operation */
        public static final int ERROR_INVALID_STATE = 0x0000139F;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbOperationException.java

            /** Network-related errors (connection, timeout, etc.) */
            NETWORK,
            /** Authentication and authorization errors */
            AUTHENTICATION,
            /** File system errors (not found, access denied, etc.) */
            FILE_SYSTEM,
            /** Protocol errors (invalid message, unsupported operation, etc.) */
            PROTOCOL,
            /** Resource errors (out of memory, disk space, etc.) */
            RESOURCE,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    		}
    	}
    
    	// TestXLStorage for permission denied.
    	if runtime.GOOS != globalWindowsOSName {
    		permDeniedDir := createPermDeniedFile(t)
    		if err = os.Chmod(permDeniedDir, 0o400); err != nil {
    			t.Fatalf("Unable to change permission to temporary directory %v. %v", permDeniedDir, err)
    		}
    
    		// Initialize xlStorage storage layer for permission denied error.
    		_, err = newLocalXLStorage(permDeniedDir)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

         */
        @Test
        @DisplayName("toString contains class name and message")
        void toString_containsClassAndMessage() {
            // Arrange
            String msg = "login denied";
            SmbAuthException ex = new SmbAuthException(msg);
    
            // Act
            String s = ex.toString();
    
            // Assert
            assertNotNull(s);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

                desiredAccess = 0x2; /* Mmm, I thought 0x03 was RDWR */
            }
            desiredAccess |= SHARING_DENY_NONE;
            desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied.
    
            // searchAttributes
            searchAttributes = ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM;
    
            // fileAttributes
            fileAttributes = 0;
    
            // openFunction
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

            assertTrue(ex1 instanceof DcerpcError, "DcerpcException should implement DcerpcError");
    
            // Test that DcerpcException can be created with string messages
            DcerpcException ex2 = new DcerpcException("Access denied error");
            assertTrue(ex2 instanceof DcerpcError, "DcerpcException should implement DcerpcError");
    
            // Test with root cause
            Exception rootCause = new Exception("Root cause");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

                // neither SHARE_READ nor SHARE_WRITE are set
                this.desiredAccess |= SHARING_DENY_READ_WRITE_EXECUTE;
            }
    
            this.desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied.
    
            // searchAttributes
            this.searchAttributes = SmbConstants.ATTR_DIRECTORY | SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM;
    
            // openFunction
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

     * </p>
     * <ul>
     *   <li>Initialize the client with SMB authentication details.</li>
     *   <li>Retrieve content and metadata from SMB files.</li>
     *   <li>Process access control entries to determine allowed and denied SIDs (Security Identifiers).</li>
     *   <li>Handle timeouts during SMB operations.</li>
     * </ul>
     *
     * <p>
     * The client uses a {@link SmbAuthenticationHolder} to manage SMB authentication credentials.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcError.java

     */
    public interface DcerpcError {
    
        /**
         * Generic fault code for other errors
         */
        int DCERPC_FAULT_OTHER = 0x00000001;
        /**
         * Access denied fault code
         */
        int DCERPC_FAULT_ACCESS_DENIED = 0x00000005;
        /**
         * Cannot perform operation fault code
         */
        int DCERPC_FAULT_CANT_PERFORM = 0x000006D8;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top