Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for lmCompatibility (0.12 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

        private static final int MAX_REDIRECTS =
                Integer.parseInt(System.getProperty("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 Map requestProperties;
    
        private Map headerFields;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  2. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/AllTests.java

                @Override
                public Map<String, String> mutate ( Map<String, String> cfg ) {
                    cfg.put("jcifs.smb.client.maxVersion", "SMB1");
                    cfg.put("jcifs.smb.lmCompatibility", "2");
                    cfg.put("jcifs.smb.client.useExtendedSecurity", "false");
                    cfg.put("jcifs.smb.client.forceExtendedSecurity", "false");
                    return cfg;
                }
            });
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  4. 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" );
    
            Enumeration e = filterConfig.getInitParameterNames();
            while( e.hasMoreElements() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  5. 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");
    
            Enumeration<String> e = filterConfig.getInitParameterNames();
            while ( e.hasMoreElements() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Configuration.java

         * <td>2</td>
         * <td>NTLM only</td>
         * </tr>
         * <tr>
         * <td>3-5</td>
         * <td>NTLMv2 only</td>
         * </tr>
         * </table>
         * 
         * 
         * Property <tt>jcifs.smb.lmCompatibility</tt> (int, default 3)
         * 
         * @return lanman compatibility level, defaults to 3 i.e. NTLMv2 only
         */
        int getLanManCompatibility ();
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                 */
                throw new SmbException(
                    "NTLMv2 requires extended security (jcifs.smb.client.useExtendedSecurity must be true if jcifs.smb.lmCompatibility >= 3)");
            }
            return null;
        }
    
    
        /**
         * Returns the effective user session key.
         * 
         * @param tc
         * @param chlng
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

            try {
                defaultWorkstation = NbtAddress.getLocalHost().getHostName();
            } catch (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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                    break;
                }
            }
            catch ( 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));
            }
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  10. 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();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
Back to top