- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 54 for NTSTATUS (1.49 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
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() { // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; import jcifs.smb.NtStatus; /** * SMB2 Read response message. * * This response contains the data that was read from the file * along with information about the read operation. * * @author mbechler */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
setStatus(response, NtStatus.NT_STATUS_NOTIFY_ENUM_DIR); assertFalse(response.isErrorResponseStatus()); // Test with success status setStatus(response, NtStatus.NT_STATUS_SUCCESS); assertFalse(response.isErrorResponseStatus()); // Test with error status setStatus(response, NtStatus.NT_STATUS_ACCESS_DENIED);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K 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; @BeforeEachRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
} } try { return sess.send(request, response, params); } catch (final SmbException se) { if (se.getNtStatus() == NtStatus.NT_STATUS_NETWORK_NAME_DELETED) { /* * Someone removed the share while we were * connected. Bastards! Disconnect this treeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0)