- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 445 for share (0.09 sec)
-
src/main/java/jcifs/SmbConstants.java
* this file is open. This constant may be logically OR'd with other share * access flags. */ int FILE_SHARE_READ = 0x01; /** * When specified as the <code>shareAccess</code> constructor parameter, * other SMB clients will be permitted to write to the target file while * this file is open. This constant may be logically OR'd with other share * access flags. */ int FILE_SHARE_WRITE = 0x02;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
void testToString() { // Given exception = new SmbOperationException(SmbOperationException.ErrorCode.ACCESS_DENIED, "Cannot access share"); exception.withContext("share", "\\\\server\\share"); exception.withContext("user", "john"); // When String str = exception.toString(); // Then assertNotNull(str);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegistration.java
* * @return the registration ID */ public String getRegistrationId() { return registrationId; } /** * Gets the share name. * * @return the share name */ public String getShareName() { return shareName; } /** * Gets the server address. * * @return the server address */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
// List shares String[] shares = server.list(); assertNotNull(shares, "Share list should not be null"); assertTrue(shares.length >= 2, "Should have at least 2 shares (public and shared)"); // Verify expected shares are present List<String> shareList = List.of(shares);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java
/** * Creates a new request to enumerate shares on a server. * * @param server the server name to enumerate shares from */ public MsrpcShareEnum(final String server) { super("\\\\" + server, 1, new srvsvc.ShareInfoCtr1(), -1, 0, 0); ptype = 0; flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } /** * Returns the share entries retrieved from the enumeration. *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
referral.server = "testServer"; referral.share = "testShare"; referral.link = "testLink"; referral.path = "/test/path"; referral.ttl = 300; referral.expiration = 1234567890L; referral.resolveHashes = true; // When String expectedString =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
@Test @DisplayName("handleDFSReferral handles null referral and empty path") void handleDfsReferralNullAndEmpty() { when(locator.handleDFSReferral(null, "")).thenReturn("smb://server/share/"); assertEquals("smb://server/share/", locator.handleDFSReferral(null, "")); verify(locator).handleDFSReferral(null, ""); verifyNoMoreInteractions(locator); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
/** * Constructs a tree connect AndX request to establish a connection to a shared resource. * * @param ctx the CIFS context containing configuration * @param server the server data containing security information * @param path the UNC path to the shared resource * @param service the service type (e.g., "A:" for disk share, "LPT1:" for printer) * @param andx the next command in the AndX chain, or null */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
return this.sessionKey; } @Override public SmbTreeImpl getSmbTree(String share, String service) { if (share == null) { share = "IPC$"; } synchronized (this.trees) { for (SmbTreeImpl t : this.trees) { if (t.matches(share, service)) { return t.acquire(); } }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0)