Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for NTSTATUS (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            switch (resp.errorCode) {
            case NtStatus.NT_STATUS_SUCCESS:
                break;
            case NtStatus.NT_STATUS_ACCESS_DENIED:
            case NtStatus.NT_STATUS_WRONG_PASSWORD:
            case NtStatus.NT_STATUS_LOGON_FAILURE:
            case NtStatus.NT_STATUS_ACCOUNT_RESTRICTION:
            case NtStatus.NT_STATUS_INVALID_LOGON_HOURS:
            case NtStatus.NT_STATUS_INVALID_WORKSTATION:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SIDCacheImplTest.java

            // Interaction: sendrecv invoked exactly once
            verify(handle, times(1)).sendrecv(any(jcifs.dcerpc.msrpc.MsrpcLookupSids.class));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { NtStatus.NT_STATUS_SUCCESS, NtStatus.NT_STATUS_NONE_MAPPED, 0x00000107 })
        @DisplayName("resolveSids(DcerpcHandle,...) accepts success/none/some-not-mapped codes")
        void resolveSids_allowsCertainRetvals_noThrow(int ret) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            final int status = getStatus();
            return status != NtStatus.NT_STATUS_INVALID_PARAMETER && ((status != NtStatus.NT_STATUS_INVALID_PARAMETER)
                    || ((this.ctlCode != Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK) && (this.ctlCode != Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK_WRITE)))
                    && ((status != NtStatus.NT_STATUS_BUFFER_OVERFLOW)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb1.trans.nt.FileNotifyInformationImpl;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    
    /**
     * SMB2 Change Notify response message.
     *
     * This response contains information about file system changes
     * that occurred in the monitored directory.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

                    // Mark response as received and set status = NT_STATUS_NO_SUCH_FILE
                    setStatus(qr, NtStatus.NT_STATUS_NO_SUCH_FILE);
                    qr.received();
                    q.setResponse(qr);
                    // Now emulate error thrown by transport for create chain
                    throw new SmbException(NtStatus.NT_STATUS_NO_SUCH_FILE, false);
                }
                return null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    
    /**
     * SMB2 Session Setup response message. This response contains the server's authentication
     * challenge or confirms successful session establishment.
     *
     * @author mbechler
     *
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

            case NtStatus.NT_STATUS_ACCOUNT_RESTRICTION:
            case NtStatus.NT_STATUS_INVALID_LOGON_HOURS:
            case NtStatus.NT_STATUS_INVALID_WORKSTATION:
            case NtStatus.NT_STATUS_PASSWORD_EXPIRED:
            case NtStatus.NT_STATUS_ACCOUNT_DISABLED:
            case NtStatus.NT_STATUS_ACCOUNT_LOCKED_OUT:
            case NtStatus.NT_STATUS_TRUSTED_DOMAIN_FAILURE:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.config.BaseConfiguration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    import jcifs.smb.SmbException;
    
    class Smb2IoctlResponseTest {
    
        // Helper: build a minimal SMB2 header with a given status
        private static byte[] buildHeader(int status) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbException.java

     * <p>
     * The jCIFS client maps DOS error codes to NTSTATUS codes. This means that
     * the user may recieve a different error from a legacy server than that of
     * a newer varient 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 IOException implements NtStatus, DosError, WinError {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DosErrorTest.java

        @DisplayName("Happy path: known DOS codes map to expected NTSTATUS")
        void mapsKnownDosCodesToNtStatus(int dosCode, int expectedNtStatus) {
            // Act
            int actual = findNtStatusOrMinusOne(dosCode);
    
            // Assert
            assertEquals(expectedNtStatus, actual, "Mapping must match table entry");
        }
    
        @Test
        @DisplayName("Edge: zero DOS code maps to zero NTSTATUS")
        void zeroCodeMapsToZero() {
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top