Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 604 for if (0.23 sec)

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

                        if (dc_list[i] != null) {
                            try {
                                return interrogate( dc_list[i] );
                            } catch (SmbException se) {
                                if (SmbTransport.log.level >= 2) {
                                    SmbTransport.log.println( "Failed validate DC: " + dc_list[i] );
                                    if (SmbTransport.log.level > 2)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                this.count = _src.dec_ndr_long();
                int _sp = _src.dec_ndr_long();
    
                if ( _sp != 0 ) {
                    _src = _src.deferred;
                    int _ss = _src.dec_ndr_long();
                    int _si = _src.index;
                    _src.advance(4 * _ss);
    
                    if ( this.s == null ) {
                        if ( _ss < 0 || _ss > 0xFFFF )
                            throw new NdrException(NdrException.INVALID_CONFORMANCE);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 16.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

         * @return number of bytes read
         *
         * @throws IOException
         *             if a network error occurs
         */
        public int readDirect ( byte[] b, int off, int len ) throws IOException {
            if ( len <= 0 ) {
                return 0;
            }
            long start = this.fp;
    
            if ( this.tmp == null ) {
                throw new IOException("Bad file descriptor");
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                throws CIFSException {
            DosFileFilter dff = unwrapDOSFilter(ff);
            if ( dff != null ) {
                if ( dff.wildcard != null )
                    wildcard = dff.wildcard;
                searchAttributes = dff.attributes;
            }
            SmbResourceLocator locator = parent.getLocator();
            if ( locator.getURL().getHost().isEmpty() ) {
                // smb:// -> enumerate servers through browsing
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

     *
     * @throws IOException if a network error occurs
     */
    
        public int read( byte[] b, int off, int len ) throws IOException {
            return readDirect(b, off, len);
        }
        public int readDirect( byte[] b, int off, int len ) throws IOException {
            if( len <= 0 ) {
                return 0;
            }
            long start = fp;
    
            if( tmp == null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmHttpFilter.java

         * @param resp
         *            The servlet response
         * @param skipAuthentication
         *            If true the negotiation is only done if it is
         *            initiated by the client (MSIE post requests after successful NTLM SSP
         *            authentication). If false and the user has not been authenticated yet
         *            the client will be forced to send an authentication (server sends
    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)
  7. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            ServerData server = negotiated.getServerData();
            if ( server.security == SmbConstants.SECURITY_USER ) {
                if ( cred instanceof NtlmPasswordAuthenticator ) {
                    NtlmPasswordAuthenticator a = (NtlmPasswordAuthenticator) cred;
                    if ( a.isAnonymous() ) {
                        this.lmHash = new byte[0];
                        this.ntHash = new byte[0];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 17 10:20:23 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/Lmhosts.java

            while ( ( line = br.readLine() ) != null ) {
                line = line.toUpperCase().trim();
                if ( line.length() == 0 ) {
                    continue;
                }
                else if ( line.charAt(0) == '#' ) {
                    if ( line.startsWith("#INCLUDE ") ) {
                        line = line.substring(line.indexOf('\\'));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

            int offset = 0;
            if ( domainLength > 0 ) {
                writeUShort(targetInfo, offset, 2);
                offset += 2;
                writeUShort(targetInfo, offset, domainLength);
                offset += 2;
                System.arraycopy(domain, 0, targetInfo, offset, domainLength);
                offset += domainLength;
            }
            if ( serverLength > 0 ) {
                writeUShort(targetInfo, offset, 1);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            } catch (NoSuchAlgorithmException ex) {
                if( log.level > 0 )
                    ex.printStackTrace( log );
                throw new SmbException( "MD5", ex );
            }
    
            this.macSigningKey = macSigningKey;
            this.bypass = bypass;
            this.updates = 0;
            this.signSequence = 0;
    
            if( log.level >= 5 ) {
                log.println("macSigningKey:");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
Back to top