- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 281 for SMB2 (0.33 seconds)
-
src/main/java/jcifs/smb/SmbCopyUtil.java
import jcifs.internal.smb2.info.Smb2SetInfoRequest; import jcifs.internal.smb2.ioctl.Smb2IoctlRequest; import jcifs.internal.smb2.ioctl.Smb2IoctlResponse; import jcifs.internal.smb2.ioctl.SrvCopyChunkCopyResponse; import jcifs.internal.smb2.ioctl.SrvCopychunk; import jcifs.internal.smb2.ioctl.SrvCopychunkCopy; import jcifs.internal.smb2.ioctl.SrvRequestResumeKeyResponse; /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; /** * SMB2 protocol header template with magic number 0xFE 'SMB' */ public static final byte[] SMB2_HEADER = { (byte) 0xFE, (byte) 'S', (byte) 'M', (byte) 'B', // ProtocolId (byte) 64, (byte) 0x00, // StructureSize (LE)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
SmbSession result = transport.getSmbSession(ctx, host, domain); assertSame(session, result); verify(transport).getSmbSession(eq(ctx), eq(host), eq(domain)); } // SMB2 detection: true/false and exception path @Test @DisplayName("isSMB2 returns true/false and can throw") void isSMB2_variants() throws Exception { when(transport.isSMB2()).thenReturn(true, false);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
@CsvSource({ "'smb://user:password@server/share', 'smb://user:******@server/share'", "'smb://domain\\user:secret@host/path', 'smb://domain\\user:******@host/path'", "'smb2://admin:admin123@192.168.1.1/folder', 'smb2://admin:******@192.168.1.1/folder'", "'smbs://test:p@******@****.***/share', 'smbs://test:******@example.com/share'" })Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
import jcifs.CIFSException; import jcifs.SmbConstants; import jcifs.SmbFileHandle; import jcifs.internal.smb1.com.SmbComReadAndX; import jcifs.internal.smb1.com.SmbComReadAndXResponse; import jcifs.internal.smb2.io.Smb2ReadRequest; import jcifs.internal.smb2.io.Smb2ReadResponse; import jcifs.util.transport.TransportException; /** * This InputStream can read bytes from a file on an SMB file server. Offsets are 64 bits. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.lease; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Executors;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/util/InputValidatorTest.java
assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(1001, 1000, "test")); } @Test @DisplayName("Test SMB2 buffer size validation") void testSmb2BufferSize() { assertDoesNotThrow(() -> InputValidator.validateSmb2BufferSize(1000000L, "test"));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertNotNull(SMBUtil.SMB2_HEADER); // The actual header is 68 bytes (4 + 2 + 2 + 2 + 2 + 4 + 2 + 2 + 4 + 4 + 8 + 4 + 4 + 8 + 8 + 8 = 68) assertEquals(68, SMBUtil.SMB2_HEADER.length); // Verify SMB2 header signature assertEquals((byte) 0xFE, SMBUtil.SMB2_HEADER[0]); assertEquals((byte) 'S', SMBUtil.SMB2_HEADER[1]); assertEquals((byte) 'M', SMBUtil.SMB2_HEADER[2]);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
package jcifs.internal.smb2; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; 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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
## 2. Protocol Specification Reference - **MS-SWN**: Service Witness Protocol Specification - **MS-SMB2 Section 3.2.4.24**: FSCTL_SRV_REQUEST_RESUME_KEY - **MS-SMB2 Section 3.3.5.15.12**: Cluster Reconnect - **MS-RRP**: Windows Remote Registry Protocol (for witness service discovery) ## 3. Witness Architecture ### 3.1 Witness Service Types ```java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0)