- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for lmCompatibility (0.2 sec)
-
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
// Set default for tests jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", "3"); } @AfterAll static void tearDownClass() { // Restore original property if (originalLmCompatibility != null) { jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", originalLmCompatibility); } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
if (lmCompatibility == 3 || lmCompatibility == 4 || lmCompatibility == 5) { // For LM compatibility 3-5, only 16 bytes are used doAnswer(invocation -> { byte[] dest = invocation.getArgument(2); int offset = invocation.getArgument(3); System.arraycopy(new byte[16], 0, dest, offset, 16); return null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
if (compatibility < 3) { log.warn("Using insecure NTLMv1 authentication (LM compatibility level {}). " + "Please upgrade to NTLMv2 by setting jcifs.smb.lmCompatibility to 3 or higher.", compatibility); } switch (compatibility) { case 0: case 1: // NTLMv1 - deprecated and insecure
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
*/ public class NtlmHttpURLConnection extends HttpURLConnection { private static final int MAX_REDIRECTS = Integer.getInteger("http.maxRedirects", 20); private static final int LM_COMPATIBILITY = Config.getInt("jcifs.smb1.smb.lmCompatibility", 0); private static final String DEFAULT_DOMAIN; private HttpURLConnection connection; private final Map requestProperties; private Map headerFields;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** NetBIOS hostname */ String NETBIOS_HOSTNAME = Config.getProperty("jcifs.smb1.netbios.hostname", null); /** LM compatibility level */ int LM_COMPATIBILITY = Config.getInt("jcifs.smb1.smb.lmCompatibility", 3); /** No flags set */ int FLAGS_NONE = 0x00; /** Lock and read write and unlock flag */ int FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK = 0x01;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
* NtlmAuthenticator</a> for related information. */ public final class NtlmPasswordAuthentication implements Principal, Serializable { private static final int LM_COMPATIBILITY = Config.getInt("jcifs.smb1.smb.lmCompatibility", 3); private static final Random RANDOM = new Random(); private static LogStream log = LogStream.getInstance(); // KGS!@#$% private static final byte[] S8 =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
* need to do a NETLOGON RPC that JCIFS will likely never implement * because it requires a lot of extra crypto not used by CIFS. */ Config.setProperty("jcifs.smb1.smb.lmCompatibility", "0"); Config.setProperty("jcifs.smb1.smb.client.useExtendedSecurity", "false"); final Enumeration e = filterConfig.getInitParameterNames(); while (e.hasMoreElements()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
* need to do a NETLOGON RPC that JCIFS will likely never implement * because it requires a lot of extra crypto not used by CIFS. */ p.setProperty("jcifs.smb.lmCompatibility", "0"); p.setProperty("jcifs.smb.client.useExtendedSecurity", "false"); final Enumeration<String> e = filterConfig.getInitParameterNames(); while (e.hasMoreElements()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
try { defaultWorkstation = NbtAddress.getLocalHost().getHostName(); } catch (final UnknownHostException ex) {} DEFAULT_WORKSTATION = defaultWorkstation; LM_COMPATIBILITY = Config.getInt("jcifs.smb1.smb.lmCompatibility", 3); } /** * Creates a Type-3 message using default values from the current * environment. */ public Type3Message() { setFlags(getDefaultFlags());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0)