Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for needn (0.14 sec)

  1. README.md

    There are a lot of SMB devices in the world.
    Some of them only work with the old jcifs library.
    If you want to support many SMB devices, CodeLibs jcifs library will be helpful.
    For example, since [Fess](https://github.com/codelibs/fess) needs to support many SMB devices, it uses this library.
    Plain Text
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed May 10 09:29:34 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                        return this.handle.acquire();
                    }
    
                    // TODO: wait for pipe, still not sure when this needs to be called exactly
                    if ( this.uncPath.startsWith("\\pipe\\") ) {
                        th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig()));
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/NetbiosAddress.java

     */
    package jcifs;
    
    
    import java.net.UnknownHostException;
    
    
    /**
     * This class represents a NetBIOS over TCP/IP address. Under normal
     * conditions, users of jCIFS need not be concerned with this class as
     * name resolution and session services are handled internally by the smb package.
     * 
     * <p>
     * Applications can use the methods <code>getLocalHost</code>,
     * <code>getByName</code>, and
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileOutputStream.java

                        this.fp = fh.getInitialSize();
                    }
                    init(th);
                    if ( !append && this.smb2 ) {
                        // no open option for truncating, need to truncate the file
                        Smb2SetInfoRequest treq = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId());
                        treq.setFileInformation(new FileEndOfFileInformation(0));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            int off = 0;
            int tot = buf.getLength() - 24;
            while ( off < tot ) {
                int fragSize = tot - off;
                if ( ( 24 + fragSize ) > this.max_xmit ) {
                    // need fragementation
                    msg.flags &= ~DCERPC_LAST_FRAG;
                    fragSize = this.max_xmit - 24;
                }
                else {
                    msg.flags |= DCERPC_LAST_FRAG;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SID.java

         */
        public SID ( String textual ) throws SmbException {
            StringTokenizer st = new StringTokenizer(textual, "-");
            if ( st.countTokens() < 3 || !st.nextToken().equals("S") )
                // need S-N-M
                throw new SmbException("Bad textual SID format: " + textual);
    
            this.revision = Byte.parseByte(st.nextToken());
            String tmp = st.nextToken();
            long id = 0;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileInputStream.java

         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read () throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if ( read(this.tmp, 0, 1) == -1 ) {
                return -1;
            }
            return this.tmp[ 0 ] & 0xFF;
        }
    
    
        /**
    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)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            Smb2SigningDigest dgst = getDigest();
            if ( dgst != null && !isAsync() && ( getConfig().isRequireSecureNegotiate() || getErrorCode() == NtStatus.NT_STATUS_OK ) ) {
                // TODO: SMB2 - do we need to check the MIDs?
                // We only read what we were waiting for, so first guess would be no.
                boolean verify = dgst.verify(buffer, i, size, 0, this);
                this.verifyFailed = verify;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            }
        }
    
    /**
     * Reads a byte of data from this input stream.
     *
     * @throws IOException if a network error occurs
     */
    
        public int read() throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if( read( tmp, 0, 1 ) == -1 ) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
    /**
    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)
  10. src/main/java/jcifs/smb/Kerb5Authenticator.java

         */
        protected void setSubject ( Subject subject ) {
            this.subject = subject;
        }
    
    
        @Override
        public void refresh () throws CIFSException {
            // custom Kerb5Authenticators need to override this method for support
            throw new SmbUnsupportedOperationException("Refreshing credentials is not supported by this authenticator");
        }
    
    
        @Override
        public Kerb5Authenticator clone () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
Back to top