- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for referrals (0.14 sec)
-
src/main/java/jcifs/smb1/smb1/Dfs.java
* longest path in the list of stand-alone referrals. */ if (referrals != null && now > referrals.expiration) { referrals = null; } if (referrals == null) { referrals = new CacheEntry(0); } String key = "\\" + domain + "\\" + root;
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/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
return buffer; } private byte[] createMinimalDfsReferralBuffer() { // Create minimal buffer with no referrals byte[] buffer = new byte[8]; // Path consumed (2 bytes) SMBUtil.writeInt2(0, buffer, 0); // Number of referrals (2 bytes) - 0 SMBUtil.writeInt2(0, buffer, 2); // Flags (2 bytes) SMBUtil.writeInt2(0, buffer, 4);
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/main/java/jcifs/smb1/smb1/SmbTransport.java
dr.resolveHashes = auth.hashesExternal; dr.ttl = resp.referrals[di].ttl; dr.expiration = expiration; if (path.equals("")) { dr.server = resp.referrals[di].path.substring(1).toLowerCase(); } else { dfsPathSplit(resp.referrals[di].node, arr); dr.server = arr[1]; dr.share = arr[2];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
assertTrue(result.contains("referrals=[")); assertFalse(result.contains("referrals=[]")); } } @Nested @DisplayName("Getter Methods Tests") class GetterTests { @BeforeEach void setupBuffer() { // Create buffer with 3 v1 referrals byte[] testBuffer = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
* longest path in the list of stand-alone referrals. */ CacheEntry<DfsReferralDataInternal> refs; synchronized (this.referralsLock) { refs = this.referrals; if (refs == null || now > refs.expiration) { refs = new CacheEntry<>(0); } this.referrals = refs; } String key = "\\" + domain + "\\" + root;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 29.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
} /** * * @param loc * @param host * @param referral * @return tree handle * @throws IOException */ public synchronized SmbTreeHandleImpl connectHost(final SmbResourceLocatorImpl loc, String host, final DfsReferralData referral) throws IOException { String targetDomain = ctx.getCredentials().getUserDomain();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
impl.fixupHost("server2.example.com"); impl.fixupDomain("otherdomain.com"); }); } @Test @DisplayName("Should handle linked list of referrals") void testLinkedListOfReferrals() { DfsReferralDataImpl first = createInitializedDfsReferralDataImpl(); DfsReferralDataImpl second = createInitializedDfsReferralDataImpl();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
* * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs. * This can be a problem if using DFS in it's default configuration as they still return referrals in short form. * See <a href="https://support.microsoft.com/en-us/kb/244380">KB-244380</a> for compatible server configuration. * See {@link jcifs.Configuration#isDfsConvertToFQDN()} for a workaround. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
* DFS referrals. (E.g. a resource with a DFS root's parent will still point to the DFS root not the share it's actually * located in). * - share + uncpath within it: This is the relevant information for most SMB requests. Both are adjusted by DFS * referrals. Nested resources will inherit the information already resolved by the parent resource. * * Invariant:
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
assertNotNull(s2); assertEquals(1, transport.getNumSessions(), "Should reuse existing session"); s2.close(); } @Test @DisplayName("DFS referrals: invalid double-slash prefix triggers exception") void dfsReferrals_invalidPath() { CIFSException ex = assertThrows(CIFSException.class, () -> transport.getDfsReferrals(ctx, "\\\\server\\share", null, null, 1));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0)