Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 54 for NTSTATUS (0.06 sec)

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

                        }
                        if (!sessResponse.isReceived() || sessResponse.isError() || sessResponse.getStatus() != NtStatus.NT_STATUS_SUCCESS
                                && sessResponse.getStatus() != NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED) {
                            throw e;
                        }
                        ex = e;
                        response = sessResponse;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

    import jcifs.internal.smb2.ServerMessageBlock2;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    
    /**
     * Test class for Smb2ReadResponse functionality
     */
    @DisplayName("Smb2ReadResponse Tests")
    class Smb2ReadResponseTest extends BaseTest {
    
        private Configuration mockConfig;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            this.response.reset();
            try {
                getTreeHandle().send(this.nextRequest, this.response);
                return this.response.getStatus() != NtStatus.NT_STATUS_NO_MORE_FILES;
            } catch (final SmbException e) {
                if (e.getNtStatus() == NtStatus.NT_STATUS_NO_MORE_FILES) {
                    log.debug("No more entries", e);
                    return false;
                }
                throw e;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            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)");
        }
    
        // Edge/null/empty: message-only constructor should propagate message and set unsuccessful status
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    
    class Smb2EchoResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private Smb2SigningDigest mockDigest;
    
        private Smb2EchoResponse echoResponse;
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. 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;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

    import jcifs.Configuration;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.smb.NtStatus;
    
    /**
     * Base class for SMB2/SMB3 response messages.
     *
     * This abstract class provides common functionality for handling
     * response messages in the SMB2/SMB3 protocol.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                } else {
                    // second next -> no more files
                    setField(resp, jcifs.internal.smb1.trans.SmbComTransactionResponse.class, "status", NtStatus.NT_STATUS_NO_MORE_FILES);
                    setField(resp, Trans2FindFirst2Response.class, "lastName", null);
                }
                resp.received();
                return resp;
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. 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 {
    
        /**
         *
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top