Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 148 for SmbException (0.06 seconds)

  1. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

     */
    
    package jcifs.dcerpc.msrpc;
    
    import java.io.IOException;
    
    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.dcerpc.rpc;
    import jcifs.smb.SmbException;
    
    /**
     * Handle for Security Account Manager (SAM) domain operations.
     * This class represents an open handle to a SAM domain and provides
     * operations for managing domain users, groups, and aliases.
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

        }
    
        @Override
        public boolean isSigningOptional() throws SmbException {
            return delegate.isSigningOptional();
        }
    
        @Override
        public boolean isSigningEnforced() throws SmbException {
            return delegate.isSigningEnforced();
        }
    
        @Override
        public byte[] getServerEncryptionKey() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SpnegoContext.java

                    if (found == null) {
                        throw new SmbException("Server does advertise any supported mechanism");
                    }
                }
            } else if (spToken instanceof final NegTokenTarg targ) {
                if (this.firstResponse) {
                    if (!this.mechContext.isSupported(targ.getMechanism())) {
                        throw new SmbException("Server chose an unsupported mechanism " + targ.getMechanism());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbFileFilter.java

         *
         * @param file the SMB file to test for inclusion
         * @return whether the given file should be included
         * @throws SmbException if an error occurs while accessing the file
         */
        boolean accept(SmbFile file) throws SmbException;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/dcerpc/msrpc/LsaPolicyHandle.java

     */
    
    package jcifs.dcerpc.msrpc;
    
    import java.io.IOException;
    
    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.dcerpc.rpc;
    import jcifs.smb.SmbException;
    
    /**
     * LSA policy handle for Local Security Authority operations.
     */
    public class LsaPolicyHandle extends rpc.policy_handle implements AutoCloseable {
    
        private final DcerpcHandle handle;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbFilenameFilter.java

         * @param dir the directory containing the file
         * @param name the name of the file
         * @return whether the given filename should be included
         * @throws SmbException if an SMB error occurs during evaluation
         */
        boolean accept(SmbFile dir, String name) throws SmbException;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

                rpc.retval = errorCode; // Simulate failure
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenAlias.class));
    
            // Act & Assert
            SmbException thrown = assertThrows(SmbException.class, () -> {
                new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid);
            });
    
            assertEquals(errorCode, thrown.getNtStatus());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            assertNull(ex.getMessage(), "Default ctor should not set a message");
            assertNull(ex.getCause(), "Default ctor should not set a cause");
            assertTrue(ex instanceof SmbException, "Should be an SmbException subtype");
            // SmbException default ctor leaves status 0, which equals NT_STATUS_SUCCESS
            assertEquals(NtStatus.NT_STATUS_SUCCESS, ex.getNtStatus(), "Default status should be success (0)");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

     */
    
    package jcifs.dcerpc.msrpc;
    
    import java.io.IOException;
    
    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.dcerpc.rpc;
    import jcifs.smb.SmbException;
    
    /**
     * Handle for Security Account Manager (SAM) alias operations.
     * This class represents an open handle to a SAM alias and provides
     * operations for managing alias membership and properties.
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/CredentialsInternal.java

         * @param doSigning whether message signing should be enabled
         * @return a new SSP authentication context
         * @throws SmbException if context creation fails
         */
        SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) throws SmbException;
    
        /**
         * Get the security subject associated with these credentials.
         * @return subject associated with the credentials
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top