- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 421 for SERVER (3.6 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/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/main/java/jcifs/smb/SmbFileInputStream.java
* "peek named pipe" operation and return the number of available bytes * on the server. */ @Override public int available() throws IOException { return 0; } /** * Skip n bytes of data on this stream. This operation will not result * in any IO with the server. Unlink <code>InputStream</code> value less than
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K 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/test/java/jcifs/smb/SmbOperationExceptionTest.java
@DisplayName("Should add and retrieve context information") void testContextInformation() { // Given Map<String, Object> initialContext = new HashMap<>(); initialContext.put("host", "server.example.com"); initialContext.put("port", 445); exception = new SmbOperationException(SmbOperationException.ErrorCode.ACCESS_DENIED, "Permission denied", null,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K 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) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java
* server types and filtering options for network browsing functionality. */ public class NetServerEnum2 extends SmbComTransaction { /** * Server type filter for all servers */ public static final int SV_TYPE_ALL = 0xFFFFFFFF; /** * Server type filter for domain enumeration */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0)