Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for lmCompatibility (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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
    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)
  2. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  3. 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;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/Configuration.java

         * <td>NTLM only</td>
         * </tr>
         * <tr>
         * <td>3-5</td>
         * <td>NTLMv2 only</td>
         * </tr>
         * </table>
         *
         *
         * Property {@code jcifs.smb.lmCompatibility} (int, default 3)
         *
         * @return lanman compatibility level, defaults to 3 i.e. NTLMv2 only
         */
        int getLanManCompatibility();
    
        /**
         *
    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)
  5. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                    break;
                }
            } catch (final Exception ex) {
                throw new SmbException("", ex);
            }
            if (LogStream.level >= 5) {
                log.println("LM_COMPATIBILITY=" + LM_COMPATIBILITY);
                Hexdump.hexdump(log, macSigningKey, 0, macSigningKey.length);
            }
        }
    
        /**
         * Updates the digest with the specified data.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                    break;
                }
            } catch (final Exception ex) {
                throw new SmbException("", ex);
            }
            if (log.isTraceEnabled()) {
                log.trace("LM_COMPATIBILITY=" + transport.getContext().getConfig().getLanManCompatibility());
                log.trace(Hexdump.toHexString(this.macSigningKey, 0, this.macSigningKey.length));
            }
        }
    
        /**
    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)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
            if ((server.capabilities & CAP_EXTENDED_SECURITY) != CAP_EXTENDED_SECURITY && server.encryptionKeyLength != 8
                    && LM_COMPATIBILITY == 0) {
                throw new SmbException("Unexpected encryption key length: " + server.encryptionKeyLength);
            }
    
            /* Adjust negotiated values */
    
            tconHostName = address.getHostName();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
Back to Top