Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getLanManCompatibility (0.28 sec)

  1. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            this.digest = Crypto.getMD5();
            try {
                byte[] serverEncryptionKey = transport.getServerEncryptionKey();
                switch ( transport.getContext().getConfig().getLanManCompatibility() ) {
                case 0:
                case 1:
                case 2:
                    this.macSigningKey = new byte[40];
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 10.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * @throws GeneralSecurityException
         */
        public byte[] getAnsiHash ( CIFSContext tc, byte[] chlng ) throws GeneralSecurityException {
            switch ( tc.getConfig().getLanManCompatibility() ) {
            case 0:
            case 1:
                return NtlmUtil.getPreNTLMResponse(tc, this.password, chlng);
            case 2:
                return NtlmUtil.getNTLMResponse(this.password, chlng);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.isForceExtendedSecurity();
        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @see jcifs.Configuration#getLanManCompatibility()
         */
        @Override
        public int getLanManCompatibility () {
            return this.delegate.getLanManCompatibility();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isAllowNTLMFallback()
         */
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 17.6K bytes
    - Viewed (1)
  4. 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;
            }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

        }
    
    
        @Override
        public boolean isDisablePlainTextPasswords () {
            return this.disablePlainTextPasswords;
        }
    
    
        @Override
        public int getLanManCompatibility () {
            return this.lanmanCompatibility;
        }
    
    
        @Override
        public boolean isAllowNTLMFallback () {
            return this.allowNTLMFallback;
        }
    
    
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  6. 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);
                    }
                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 25.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Configuration.java

         * </table>
         * 
         * 
         * Property <tt>jcifs.smb.lmCompatibility</tt> (int, default 3)
         * 
         * @return lanman compatibility level, defaults to 3 i.e. NTLMv2 only
         */
        int getLanManCompatibility ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.allowNTLMFallback</tt> (boolean, default true)
         * 
         * @return whether to allow fallback from kerberos to NTLM
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type3Message.java

                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));
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 30.6K bytes
    - Viewed (0)
Back to top