- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for CAP_NT_SMBS (0.06 sec)
-
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
req = r; } else { if (!th.hasCapability(SmbConstants.CAP_NT_SMBS)) { throw new SmbUnsupportedOperationException("Not supported without CAP_NT_SMBS"); } /* * NtTrans Notify Change Request / Response */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(handle.getTree()).thenReturn(tree); when(tree.isSMB2()).thenReturn(false); when(tree.getConfig()).thenReturn(mock(Configuration.class)); when(tree.hasCapability(SmbConstants.CAP_NT_SMBS)).thenReturn(true); when(handle.getFid()).thenReturn(fid); when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
buffer.putInt(8192); // maxBufferSize buffer.putInt(65536); // maxRawSize buffer.putInt(123456789); // sessionKey buffer.putInt(SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS); // capabilities buffer.putLong(new Date().getTime()); // serverTime buffer.putShort((short) -480); // serverTimeZone buffer.put((byte) 8); // encryptionKeyLength
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int CAP_MPX_MODE = 0x0002; /** Unicode capability */ int CAP_UNICODE = 0x0004; /** Large files capability */ int CAP_LARGE_FILES = 0x0008; /** NT SMBs capability */ int CAP_NT_SMBS = 0x0010; /** RPC remote APIs capability */ int CAP_RPC_REMOTE_APIS = 0x0020; /** 32-bit status codes capability */ int CAP_STATUS32 = 0x0040; /** Level II oplocks capability */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
when(tree.acquire()).thenReturn(tree); // Setup for ensureOpen when(tree.isSMB2()).thenReturn(false); when(tree.hasCapability(SmbConstants.CAP_NT_SMBS)).thenReturn(true); when(pipe.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(fh); when(fh.acquire()).thenReturn(fh); lenient().when(fh.isValid()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
// Configure mock transport mockTransport.server = serverData; mockTransport.sessionKey = 0x12345678; mockTransport.capabilities = SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS; mockTransport.snd_buf_size = 16644; mockTransport.maxMpxCount = 50; // Configure mock session mockSession.transport = mockTransport;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
@DisplayName("Capability flags are correct") void capabilityFlagsTest() { // Test individual capability values assertEquals(0x0004, SmbConstants.CAP_UNICODE); assertEquals(0x0010, SmbConstants.CAP_NT_SMBS); assertEquals(0x0040, SmbConstants.CAP_STATUS32); assertEquals(0x1000, SmbConstants.CAP_DFS); assertEquals(0x80000000, SmbConstants.CAP_EXTENDED_SECURITY); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
req.setFileInformation(new FileBasicInfo(ctime, atime, mtime, 0L, attrs)); dh.send(req); } else if (dh.hasCapability(SmbConstants.CAP_NT_SMBS)) { // use the open file descriptor dh.send(new Trans2SetFileInformation(dh.getConfig(), dfd.getFid(), attrs, ctime, mtime, atime),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig())); } if (th.hasCapability(SmbConstants.CAP_NT_SMBS) || this.uncPath.startsWith("\\pipe\\")) { this.handle = this.pipe.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0); } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
} try (SmbTreeHandleImpl th = ensureTreeConnected()) { if (!th.isSMB2() && !th.hasCapability(SmbConstants.CAP_NT_SMBS)) { throw new SmbUnsupportedOperationException("Not supported without CAP_NT_SMBS"); } return new SmbWatchHandleImpl(openUnshared(O_RDONLY, READ_CONTROL | GENERIC_READ, DEFAULT_SHARING, 0, 1), filter, recursive); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0)