- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 188 for sehari (0.06 sec)
-
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
() -> new SmbFileHandleImpl(cfg, new byte[] { 1, 2 }, null, "//server/share", 0, 0, 0, 0, 0L)); } @Test @DisplayName("Constructor with null cfg throws NPE") void constructor_nullCfg_throwsNPE() { stubValidTree(7L, true, true); assertThrows(NullPointerException.class, () -> new SmbFileHandleImpl(null, 42, tree, "//server/share", 0, 0, 0, 0, 0L)); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java
* on the server, such as a file share or printer. * * @author mbechler */ public class Smb2TreeConnectRequest extends ServerMessageBlock2Request<Smb2TreeConnectResponse> { private int treeFlags; private final String path; /** * Creates a new SMB2 tree connect request to establish a connection to a network share. * * @param config the CIFS configuration
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
when(tree.acquire(false)).thenReturn(tree); when(tree.getTreeType()).thenReturn(7); when(tree.getShare()).thenReturn("SHARE"); setTree(c, tree); assertEquals(7, c.getTreeType()); assertEquals("SHARE", c.getConnectedShare()); // try-with-resources closes the acquired tree verify(tree, atLeastOnce()).close(); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
import jcifs.smb.NtlmPasswordAuthenticator; import jcifs.util.Hexdump; /** * SMB1 Tree Connect AndX request message. * * This command is used to connect to a shared resource * on the server, such as a file share or printer. */ public class SmbComTreeConnectAndX extends AndXServerMessageBlock { private final boolean disconnectTid = false; private final String service; private byte[] password;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
setField(session, "sessionKey", key); assertArrayEquals(key, session.getSessionKey()); } @Test @DisplayName("getSmbTree returns same instance for same share/service") void testGetSmbTreeReuses() { SmbSessionImpl session = newSession(); SmbTreeImpl t1 = session.getSmbTree("IPC$", null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
throw new IOException("Witness async notify RPC failed", e); } } /** * Generates a registration ID from context handle and share name. * * @param contextHandle the context handle * @param shareName the share name * @return the registration ID */ private String generateRegistrationId(byte[] contextHandle, String shareName) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmFlags.java
*/ int NTLMSSP_TARGET_TYPE_SERVER = 0x00020000; /** * Sent by the server in the Type 2 message to indicate that the * target authentication realm is a share (presumably for share-level * authentication). */ int NTLMSSP_TARGET_TYPE_SHARE = 0x00040000; /** * Indicates that the NTLM2 signing and sealing scheme should be usedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
for (int i = 0; i < opsPerThread; i++) { String share = "share" + (threadId % 3); // Use 3 different shares // Get or create tree SmbTreeImpl tree = session.getSmbTree(share, null); assertNotNull(tree, "Tree should not be null"); // Verify we can acquire the treeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (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'" })Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
return this.service; } /** * Returns the native file system type of the connected share. * * @return the nativeFileSystem */ public final String getNativeFileSystem() { return this.nativeFileSystem; } /** * Indicates whether the share supports search operations with search bits. * * @return the supportSearchBits */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0)