- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 375 for seiner (0.98 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcConstants.java
*/ int DCERPC_LAST_FRAG = 0x02; /* Last fragment */ /** * Pending cancel flag - indicates cancel was pending at sender */ int DCERPC_PENDING_CANCEL = 0x04; /* Cancel was pending at sender */ /** * Reserved flag for future use */ int DCERPC_RESERVED_1 = 0x08; /** * Supports concurrent multiplexing flag. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
case PacConstants.SERVER_CHECKSUM: // PAC Server Signature if (this.serverSignature == null) { this.serverSignature = new PacSignature(bufferData); if (log.isDebugEnabled()) { log.debug(String.format("Server signature is type %d @ %d len %d", this.serverSignature.getType(), bufferOffset,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
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/pac/PacLogonInfo.java
* @return the home drive */ public String getHomeDrive() { return this.homeDrive; } /** * Returns the name of the server that authenticated the user. * @return the server name */ public String getServerName() { return this.serverName; } /** * Returns the user's domain name. * @return the domain nameRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
* 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. */ public class Kerb5Authenticator extends NtlmPasswordAuthenticator {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
// Create a buffer representing a valid DFS referral response // Need to include space for actual string data int stringDataStart = 28; // After the referral structure String testPath = "\\server\\share"; byte[] pathBytes = testPath.getBytes(java.nio.charset.StandardCharsets.UTF_16LE); int bufferSize = stringDataStart + pathBytes.length + 2; // +2 for null terminatorRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
// Parse only URL String[] args = { "smb://server/share/test.txt" }; for (int ai = 0; ai < args.length; ai++) { if (!args[ai].startsWith("-")) { t.url = args[ai]; } } assertEquals("smb://server/share/test.txt", t.url, "URL should be parsed");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
* query. This might be the address of a specific host, a name server, * or a broadcast address. * * @param host * the name to resolve * @param type * the hex code of the name * @param scope * the scope of the name * @param svr * server to query * @return the resolved addressRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
*/ package jcifs.util; import java.util.concurrent.atomic.AtomicLong; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.smb.SmbException; /** * Validator for SMB server responses to prevent buffer overflow and injection attacks. * * Features: * - Buffer bounds checking * - Integer overflow prevention * - Size validation * - Protocol compliance checking
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0)