Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 54 for NTSTATUS (0.07 seconds)

  1. src/main/java/jcifs/smb/SmbException.java

     * <p>
     * The jCIFS client maps DOS error codes to NTSTATUS codes. This means that
     * the user may receive a different error from a legacy server than that of
     * a newer variant such as Windows NT and above. If you should encounter
     * such a case, please report it to jcifs at samba dot org and we will
     * change the mapping.
     */
    
    public class SmbException extends CIFSException implements NtStatus, DosError, WinError {
    
        /**
         *
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/DosError.java

                        { 0x08bf0002, 0xC0000193 }, { 0x08c00002, 0xC0000070 }, { 0x08c10002, 0xC000006f }, { 0x08c20002, 0xC0000071 }, };
    
        /* These aren't really used by jCIFS -- the map above is used
         * to immediately map to NTSTATUS codes.
         */
        /**
         * Human-readable error messages corresponding to DOS error codes.
         * Array of descriptive strings for each DOS error condition.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    import jakarta.servlet.http.HttpSession;
    import jcifs.smb1.Config;
    import jcifs.smb1.UniAddress;
    import jcifs.smb1.smb1.NtStatus;
    import jcifs.smb1.smb1.NtlmChallenge;
    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    import jcifs.smb1.smb1.SmbAuthException;
    import jcifs.smb1.smb1.SmbSession;
    import jcifs.smb1.util.Base64;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/DosError.java

         * Provides descriptive text for each error condition.
         */
        /*
         * These aren't really used by jCIFS--
         * the map above is used to immediately
         * map to NTSTATUS codes.
         */
        /**
         * Human-readable error messages corresponding to DOS error codes.
         * Array of descriptive strings for each DOS error condition.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/WinError.java

     */
    public interface WinError {
    
        /*
         * Don't bother to edit this. Everything within the interface
         * block is automatically generated from the ntstatus package.
         */
    
        /** The operation completed successfully */
        int ERROR_SUCCESS = 0;
        /** Access is denied */
        int ERROR_ACCESS_DENIED = 5;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/WinError.java

     */
    public interface WinError {
    
        /* Don't bother to edit this. Everthing within the interface
         * block is automatically generated from the ntstatus package.
         */
    
        /** The operation completed successfully */
        int ERROR_SUCCESS = 0;
        /** Access is denied */
        int ERROR_ACCESS_DENIED = 5;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbFile.java

        private static boolean shouldRetryWithBasicRequest(final CIFSException e) {
            if (e instanceof SmbException) {
                final int ntStatus = ((SmbException) e).getNtStatus();
                return ntStatus == NtStatus.NT_STATUS_INVALID_PARAMETER || ntStatus == 0xC00000BB
                        || ntStatus == NtStatus.NT_STATUS_INVALID_INFO_CLASS;
            }
            return false;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/http/NetworkExplorer.java

    import jakarta.servlet.http.HttpSession;
    import jcifs.smb1.Config;
    import jcifs.smb1.UniAddress;
    import jcifs.smb1.netbios.NbtAddress;
    import jcifs.smb1.smb1.DfsReferral;
    import jcifs.smb1.smb1.NtStatus;
    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    import jcifs.smb1.smb1.SmbAuthException;
    import jcifs.smb1.smb1.SmbException;
    import jcifs.smb1.smb1.SmbFile;
    import jcifs.smb1.smb1.SmbFileInputStream;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

         */
        static Stream<Arguments> intErrorCodes() {
            return Stream.of(Arguments.of(NtStatus.NT_STATUS_ACCESS_DENIED, NtStatus.NT_STATUS_ACCESS_DENIED),
                    Arguments.of(NtStatus.NT_STATUS_SUCCESS, NtStatus.NT_STATUS_SUCCESS),
                    Arguments.of(0x00001234, NtStatus.NT_STATUS_UNSUCCESSFUL));
        }
    
        @ParameterizedTest
        @MethodSource("intErrorCodes")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

    import jcifs.BaseTest;
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    
    /**
     * Tests for Smb2SessionSetupResponse decoding and behavior.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("Smb2SessionSetupResponse Tests")
    @MockitoSettings(strictness = Strictness.LENIENT)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
Back to Top