- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for getLanManCompatibility (0.17 seconds)
-
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
*/ @Deprecated public byte[] getAnsiHash(CIFSContext tc, byte[] chlng) throws GeneralSecurityException { int compatibility = tc.getConfig().getLanManCompatibility(); // Log warning for insecure NTLMv1 usage if (compatibility < 3) { log.warn("Using insecure NTLMv1 authentication (LM compatibility level {}). "Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
this.digest = Crypto.getMD5(); try { final byte[] serverEncryptionKey = transport.getServerEncryptionKey(); switch (transport.getContext().getConfig().getLanManCompatibility()) { case 0: case 1: case 2: this.macSigningKey = new byte[40];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
} if ((this.server.scapabilities & SmbConstants.CAP_EXTENDED_SECURITY) != SmbConstants.CAP_EXTENDED_SECURITY && this.server.encryptionKeyLength != 8 && ctx.getConfig().getLanManCompatibility() == 0) { log.warn("Unexpected encryption key length: " + this.server.encryptionKeyLength); return false; } if (req.isSigningEnforced() || this.server.signaturesRequiredCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/config/DelegatingConfiguration.java
return this.delegate.getLeaseBreakTimeout(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getLanManCompatibility() */ @Override public int getLanManCompatibility() { return this.delegate.getLanManCompatibility(); } /** * {@inheritDoc} * * @see jcifs.Configuration#isAllowNTLMFallback() */ @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24.1K bytes - Click Count (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
} @Test @DisplayName("Authentication configuration should delegate correctly") void testAuthenticationConfigurationDelegation() { // Given when(mockDelegate.getLanManCompatibility()).thenReturn(3); when(mockDelegate.isAllowNTLMFallback()).thenReturn(true); when(mockDelegate.isUseRawNTLM()).thenReturn(false); when(mockDelegate.isDisablePlainTextPasswords()).thenReturn(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
reconnect(); if (message == null) { message = new Type1Message(this.transportContext); if (this.transportContext.getConfig().getLanManCompatibility() > 2) { message.setFlag(NtlmFlags.NTLMSSP_REQUEST_TARGET, true); } } else if (this.transportContext.getCredentials() instanceof NtlmPasswordAuthentication) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 25.6K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
* </table> * * * Property {@code jcifs.smb.lmCompatibility} (int, default 3) * * @return lanman compatibility level, defaults to 3 i.e. NTLMv2 only */ int getLanManCompatibility(); /** * * Property {@code jcifs.smb.allowNTLMFallback} (boolean, default true) * * @return whether to allow fallback from kerberos to NTLM */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
// Verify LM compatibility level is 3 or higher (NTLMv2 only) assertTrue("LM compatibility should be 3 or higher for NTLMv2 only", config.getLanManCompatibility() >= 3); assertEquals("LM compatibility should default to 3", 3, config.getLanManCompatibility()); // Verify maximum version supports latest SMB 3.1.1Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
setNTResponse(null); return; } if (passwordHash == null) { passwordHash = NtlmUtil.getNTHash(password); } switch (tc.getConfig().getLanManCompatibility()) { case 0: case 1: if (!getFlag(NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY)) { setLMResponse(getLMResponse(tc, type2, password));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0) -
src/main/java/jcifs/config/BaseConfiguration.java
return this.defaultPassword; } @Override public boolean isDisablePlainTextPasswords() { return this.disablePlainTextPasswords; } @Override public int getLanManCompatibility() { return this.lanmanCompatibility; } @Override public boolean isAllowNTLMFallback() { return this.allowNTLMFallback; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K bytes - Click Count (0)