Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 84 for error (0.14 sec)

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

                    }
                }
    
                /* Verification fails (w/ W2K3 server at least) if status is not 0. This
                 * suggests MS doesn't compute the signature (correctly) for error responses
                 * (perhaps for DOS reasons).
                 */
                if (digest != null && resp.errorCode == 0) {
                    digest.verify( BUF, 4, resp );
                }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtSocket.java

    /**
    Do not use this class. Writing to the OutputStream of this type of socket
    requires leaving a 4 byte prefix for the NBT header. IOW you must call
    write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error.
     */
    
    public class NbtSocket extends Socket {
    
        private static final int SSN_SRVC_PORT = 139;
        private static final int BUFFER_SIZE = 512;
        private static final int DEFAULT_SO_TIMEOUT = 5000;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            this.digest.reset();
    
            int flags = SMBUtil.readInt4(data, offset + 16);
            if ( ( flags & ServerMessageBlock2.SMB2_FLAGS_SIGNED ) == 0 ) {
                log.error("The server did not sign a message we expected to be signed");
                return true;
            }
    
            byte[] sig = new byte[SIGNATURE_LENGTH];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbTransportPool.java

         * <tt>NtlmPasswordAuthentication</tt> object against the domain controller
         * specified by the <tt>UniAddress</tt> parameter. If the credentials are
         * not accepted, an <tt>SmbAuthException</tt> will be thrown. If an error
         * occurs an <tt>SmbException</tt> will be thrown. If the credentials are
         * valid, the method will return without throwing an exception. See the
         * last <a href="../../../faq.html">FAQ</a> question.
         * <p>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 09:02:44 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/JAASAuthenticator.java

                    log.trace("Got subject " + s);
                }
    
                this.cachedSubject = s;
                return this.cachedSubject;
            }
            catch ( LoginException e ) {
                log.error("Failed to create login context", e);
                this.cachedSubject = new Subject();
                return null;
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/SessionTest.java

    import jcifs.smb.SmbTransportInternal;
    import jcifs.smb.SmbTreeHandleInternal;
    
    
    /**
     * 
     * 
     * 
     * Compatability Notes:
     * - Windows (2k8, 2k12) servers do not like extended security + DOS error codes
     * 
     * @author mbechler
     *
     */
    @RunWith ( Parameterized.class )
    @SuppressWarnings ( {
        "javadoc", "deprecation"
    } )
    public class SessionTest extends BaseCIFSTest {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                            }
                            continue;
                        }
                    }
                    catch ( CIFSException e ) {
                        log.debug("Error while checking for reuse", e);
                        continue;
                    }
    
                    if ( log.isTraceEnabled() ) {
                        log.trace("Reusing transport connection " + conn);
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 12.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/TimeoutTest.java

                throws ConnectionTimeoutException, CIFSException {
            try {
                f.createNewFile();
                assertTrue("Did not see error", false);
            }
            catch ( SmbException e ) {
                if ( e.getCause() instanceof ConnectionTimeoutException ) {
                    long timeout = System.currentTimeMillis() - start;
                    assertTrue(
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                    this.bypass = false;
                    System.arraycopy("BSRSPYL ".getBytes(), 0, data, index, 8);
                }
            }
            catch ( Exception ex ) {
                log.error("Signature failed", ex);
            }
            finally {
                if ( request instanceof SmbComNtCancel ) {
                    this.signSequence++;
                }
                else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 10.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SpnegoContext.java

        static {
            try {
                SPNEGO_MECH_OID = new ASN1ObjectIdentifier("1.3.6.1.5.5.2");
            }
            catch ( IllegalArgumentException e ) {
                log.error("Failed to initialize OID", e);
            }
        }
    
        private SSPContext mechContext;
    
        private boolean firstResponse = true;
        private boolean completed;
    
        private ASN1ObjectIdentifier[] mechs;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 14.8K bytes
    - Viewed (0)
Back to top