- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 91 for Nt (0.01 seconds)
-
src/main/java/jcifs/smb1/smb1/NtStatus.java
NT_STATUS_PATH_NOT_COVERED, NT_STATUS_IO_REPARSE_TAG_NOT_HANDLED, }; /** * Array of NT status message strings corresponding to NT status codes. * These messages provide human-readable descriptions for various NT status values. */ String[] NT_STATUS_MESSAGES = { "The operation completed successfully.", "A device attached to the system is not functioning.",Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
*/ @ExtendWith(MockitoExtension.class) public class SmbAuthExceptionTest { /** * Provide representative error codes for the int constructor. * - NT status code (high bits set) * - Success code (0) * - Non-NT small code to exercise default mapping to NT_STATUS_UNSUCCESSFUL */ static Stream<Arguments> intErrorCodes() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/DosError.java
package jcifs.smb1.smb1; /** * Interface defining DOS error codes and their mappings to NT status codes for SMB1 protocol. * Provides lookup tables for converting between DOS and NT error representations. */ public interface DosError { /** * Mapping table from DOS error codes to NT status codes. * Each entry contains a pair of [DOS error code, NT status code]. */ int[][] DOS_ERROR_CODES =Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/DosError.java
package jcifs.smb; /** * Interface defining DOS error codes and their mappings to NT status codes. * Provides lookup tables for converting between DOS and NT error representations. */ public interface DosError { /** * Mapping table from DOS error codes to NT status codes. * Each entry contains a pair of [DOS error code, NT status code]. */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
String password = "password"; // Known NT hash for "password" (UTF-16LE MD4) // This is a well-known test vector: password -> 8846F7EAEE8FB117AD06BDD830B7586C byte[] expected = hex("8846F7EAEE8FB117AD06BDD830B7586C"); // Act byte[] actual = NtlmUtil.getNTHash(password); // Assert assertArrayEquals(expected, actual, "NT hash must match known test vector"); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
} bufferIndex += e.getNextEntryOffset(); } setResults(results); /* * last nextEntryOffset for NT 4(but not 98) is 0 so we must * use dataCount or our accounting will report an error for NT :~( */ return getDataCount(); } @Override public String toString() { String c;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbException.java
} winErrorCodeMessages = Collections.unmodifiableMap(winErrorCodeMessagesTmp); } /** * Get the message string for an NT STATUS code * * @param errcode the NT STATUS error code * @return message for NT STATUS code */ public static String getMessageByCode(final int errcode) { String message = errorCodeMessages.get(errcode); if (message == null) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java
this.dialects = new String[] { "SMB 2.???", "SMB 2.002" }; } else if (config.getMaximumVersion().isSMB2()) { this.dialects = new String[] { "NT LM 0.12", "SMB 2.???", "SMB 2.002" }; } else { this.dialects = new String[] { "NT LM 0.12" }; } } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationRequest#isSigningEnforced() */ @Override
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.5K bytes - Click Count (3) -
src/main/java/jcifs/smb1/smb1/SmbException.java
super(winerr ? getMessageByWinerrCode(errcode) : getMessageByCode(errcode)); status = winerr ? errcode : getStatusByCode(errcode); } /** * Returns the NT status code for this exception. * * @return the NT status code */ public int getNtStatus() { return status; } /** * Returns the root cause of this exception if one exists *
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java
resumeKey = e.fileIndex; } bufferIndex += e.nextEntryOffset; } /* last nextEntryOffset for NT 4(but not 98) is 0 so we must * use dataCount or our accounting will report an error for NT :~( */ //return bufferIndex - start; return dataCount; } @Override public String toString() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 8.6K bytes - Click Count (0)