- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 91 for Nt (0.01 seconds)
-
src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java
} @Override protected int writeDataWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dstIndex += this.info.encode(dst, dstIndex); /* 6 zeros observed with NT */ SMBUtil.writeInt8(0L, dst, dstIndex); dstIndex += 6; /* * Also observed 4 byte alignment but we stick * with the default for jCIFS which is 2 */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmSspTest.java
message[13] = 0; message[14] = 24; // Max Length message[15] = 0; message[16] = 64; // Offset message[17] = 0; message[18] = 0; message[19] = 0; // NT Response (24 bytes at offset 88) message[20] = 24; // Length message[21] = 0; message[22] = 24; // Max Length message[23] = 0; message[24] = 88; // Offset message[25] = 0;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.4K bytes - Click Count (1) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
* {@link #getRootCause()}, and {@link #toString()}. */ @ExtendWith(MockitoExtension.class) class SmbExceptionTest { /** * Happy path – constructor with a valid NT status code (0). */ @Test @DisplayName("Constructor 0 – NT_STATUS_SUCCESS") void testConstructorWithZeroCode() { SmbException ex = new SmbException(0, false);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
/** * SMB command for NT transaction operations. */ public static final byte SMB_COM_NT_TRANSACT = (byte) 0xA0; /** * SMB command to cancel an NT operation. */ public static final byte SMB_COM_NT_CANCEL = (byte) 0xA4; /** * SMB command for secondary NT transaction operations. */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java
int NTLMSSP_REQUEST_INIT_RESPONSE = 0x00100000; /** * Requests an accept response token. */ int NTLMSSP_REQUEST_ACCEPT_RESPONSE = 0x00200000; /** * Requests the use of a non-NT session key. */ int NTLMSSP_REQUEST_NON_NT_SESSION_KEY = 0x00400000; /** * Sent by the server in the Type 2 message to indicate that it isCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
this.createOptions = createOptions | 0x0040; } else { this.createOptions = createOptions; } impersonationLevel = 0x02; // As seen on NT :~) securityFlags = (byte) 0x03; // SECURITY_CONTEXT_TRACKING | SECURITY_EFFECTIVE_ONLY } @Override int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access); SmbException thrown = assertThrows(SmbException.class, handle::close); // SmbException constructor maps non-NT status codes to NT_STATUS_UNSUCCESSFUL assertEquals(0xC0000001, thrown.getNtStatus()); // NT_STATUS_UNSUCCESSFUL verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
import jcifs.internal.RequestWithPath; import jcifs.internal.dfs.DfsReferralDataInternal; import jcifs.internal.smb1.com.SmbComClose; import jcifs.internal.smb1.com.SmbComFindClose2; import jcifs.internal.smb1.trans.nt.NtTransQuerySecurityDesc; import jcifs.util.transport.TransportException; /** * This class encapsulates the logic for switching tree connections *
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 30.4K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
assertEquals(serverName, server.name); } @ParameterizedTest @DisplayName("Test readDataWireFormat with various server versions") @CsvSource({ "3, 51, Windows NT 3.51", "4, 0, Windows NT 4.0", "5, 0, Windows 2000", "5, 1, Windows XP", "5, 2, Windows Server 2003", "6, 0, Windows Vista", "6, 1, Windows 7", "6, 2, Windows 8", "6, 3, Windows 8.1", "10, 0, Windows 10" })
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
package jcifs.internal.smb1.trans.nt; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import java.io.IOException; import java.nio.charset.StandardCharsets; import org.junit.jupiter.api.BeforeEach;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0)