- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for NTSTATUS (0.04 sec)
-
src/main/java/jcifs/smb/NtStatus.java
* of requested operations. The codes follow the Windows NT status code format. */ public interface NtStatus { /* * Don't bother to edit this. Everything within the interface * block is automatically generated from the ntstatus package. */ /** The operation completed successfully */ int NT_STATUS_SUCCESS = 0x00000000; /** The request is pending */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtStatus.java
* of requested operations. The codes follow the Windows NT status code format. */ public interface NtStatus { /* Don't bother to edit this. Everthing within the interface * block is automatically generated from the ntstatus package. */ /** The operation completed successfully */ int NT_STATUS_SUCCESS = 0x00000000;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbOperationException.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
assertTrue(response.isError()); } } @ParameterizedTest @ValueSource(ints = { NtStatus.NT_STATUS_SUCCESS, NtStatus.NT_STATUS_PENDING, NtStatus.NT_STATUS_ACCESS_DENIED, NtStatus.NT_STATUS_INVALID_PARAMETER }) @DisplayName("Should handle various status codes") void testVariousStatusCodes(int status) { response.setStatusForTest(status);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)