- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for Dfs (0.01 sec)
-
src/main/java/jcifs/smb1/smb1/Dfs.java
import jcifs.smb1.util.LogStream; /** * Implements DFS (Distributed File System) referral caching and resolution. * This class manages DFS referral cache and provides DFS path resolution functionality. */ public class Dfs { /** * Default constructor for Dfs. * Initializes the DFS referral system. */ public Dfs() { // Default constructor } static class CacheEntry {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java
} /** * DFS volume flavor indicating standalone DFS */ public static final int DFS_VOLUME_FLAVOR_STANDALONE = 0x100; /** * DFS volume flavor indicating Active Directory blob storage */ public static final int DFS_VOLUME_FLAVOR_AD_BLOB = 0x200; /** * DFS storage state indicating offline status */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
} /** * DFS volume flavor indicating standalone DFS */ public static final int DFS_VOLUME_FLAVOR_STANDALONE = 0x100; /** * DFS volume flavor indicating Active Directory blob storage */ public static final int DFS_VOLUME_FLAVOR_AD_BLOB = 0x200; /** * DFS storage state indicating offline status */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 21.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
} @Test @DisplayName("Should detect DFS from share flags") void testIsShareDfsWithShareFlags() throws Exception { // Test with DFS flag setPrivateField(response, "shareFlags", Smb2TreeConnectResponse.SMB2_SHAREFLAG_DFS); assertTrue(response.isShareDfs(), "Should detect DFS from DFS flag"); // Test with DFS_ROOT flag
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
// Verify level is set to 200 for DFS root enumeration assertEquals(200, dfsRootEnum.level); // Verify DCE/RPC message properties assertEquals(0, dfsRootEnum.getPtype()); assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, dfsRootEnum.getFlags()); // Verify DFS enumeration structure assertNotNull(dfsRootEnum.info);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertTrue(newUnc.contains("dfs/path") || newUnc.contains("dfs\\path")); assertEquals(dr, l.getDfsReferral()); assertEquals("dfs-server", l.getServerWithDfs()); assertEquals("smb://dfs-server/dfs-share" + l.getUNCPath().replace('\\', '/'), l.getDfsPath()); assertEquals("dfs-share", l.getShare()); // Path consumed negative -> coerced to 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
return Stream.of(Arguments.of(0x0, false), Arguments.of(0x1, true), // DFS Arguments.of(0x2, true), // DFS_ROOT Arguments.of(0x3, true), // DFS | DFS_ROOT Arguments.of(0x8000, false), // ENCRYPT_DATA only Arguments.of(0x8001, true), // ENCRYPT_DATA | DFS Arguments.of(0xFFFF, true) // All flags including DFS ); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
// Time to live (2 bytes for v3) SMBUtil.writeInt2(300, buffer, 18); // DFS path offset (2 bytes) - points to string data SMBUtil.writeInt2(stringDataStart - 8, buffer, 20); // Offset from start of referral // DFS alternate path offset (2 bytes) SMBUtil.writeInt2(0, buffer, 22); // Network address offset (2 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
} @Test @DisplayName("getDfs should return initialized DFS resolver") void testGetDfs() { // When DfsResolver dfs = context.getDfs(); // Then assertNotNull(dfs, "DFS resolver should not be null"); assertSame(dfs, context.getDfs(), "Should return same instance on multiple calls"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
} /** * Get a DFS referral for the specified target * * @param tf the CIFS context * @param trans the SMB transport * @param target the target path * @param targetDomain the target domain * @param targetHost the target host * @param root the DFS root * @param path the DFS path * @return the DFS referral data or null if not found
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 29.7K bytes - Viewed (0)