Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

     */
    
    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 = {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  2. 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() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/PropertyConfiguration.java

            this.sendNTLMTargetName = Config.getBoolean(p, "jcifs.smb.client.SendNTLMTargetName", true);
    
            this.lanmanCompatibility = Config.getInt(p, "jcifs.smb.lmCompatibility", 3);
            this.allowNTLMFallback = Config.getBoolean(p, "jcifs.smb.allowNTLMFallback", true);
            this.useRawNTLM = Config.getBoolean(p, "jcifs.smb.useRawNTLM", false);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 8.9K 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() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final String NETBIOS_HOSTNAME = Config.getProperty( "jcifs.smb1.netbios.hostname", null );
        static final int LM_COMPATIBILITY = Config.getInt( "jcifs.smb1.smb.lmCompatibility", 3);
    
        static final int FLAGS_NONE                           = 0x00;
        static final int FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK = 0x01;
        static final int FLAGS_RECEIVE_BUFFER_POSTED          = 0x02;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  6. 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;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K 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
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  8. 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;
                }
            });
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 14.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                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());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  10. 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 ();
    
    
        /**
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
Back to top