Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for isSMB2 (0.04 sec)

  1. src/main/java/jcifs/smb/SmbTreeImpl.java

                // and send it as a separate request instead
                String svc = null;
                final int t = this.tid;
                request.setTid(t);
    
                if (!transport.isSMB2()) {
                    final ServerMessageBlock req = (ServerMessageBlock) request;
                    svc = this.service;
                    if (svc == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

            this.openFlags = openFlags;
            this.access = access;
            this.sharing = sharing;
    
            try (SmbTreeHandleInternal th = file.ensureTreeConnected()) {
                this.smb2 = th.isSMB2();
                if (file.getType() != SmbConstants.TYPE_NAMED_PIPE) {
                    try (SmbFileHandle h = ensureOpen()) {}
                    this.openFlags &= ~(SmbConstants.O_CREAT | SmbConstants.O_TRUNC);
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            }
        }
    
        /**
         * @return whether this tree handle uses SMB2
         */
        @Override
        public boolean isSMB2() {
            try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) {
                return transport.isSMB2();
            } catch (final SmbException e) {
                log.debug("Failed to connect for determining SMB2 support", e);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

            return delegate.getSmbSession(tf, targetHost, targetDomain);
        }
    
        @Override
        public boolean isSMB2() throws SmbException {
            return delegate.isSMB2();
        }
    
        @Override
        public int getInflightRequests() {
            return delegate.getInflightRequests();
        }
    
        @Override
        public CIFSContext getContext() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                throw new SmbException("Pipe handle already closed");
            }
    
            if (!isOpen()) {
                try (SmbTreeHandleImpl th = ensureTreeConnected()) {
    
                    if (th.isSMB2()) {
                        this.handle = this.pipe.openUnshared(this.uncPath, 0, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0);
                        return this.handle.acquire();
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                }
    
                final Configuration config = h.getConfig();
                SmbBasicFileInfo info;
                boolean haveSize = true, haveAttributes = true;
                long fileSize = 0;
                if (h.isSMB2()) {
                    final Smb2CreateRequest req = new Smb2CreateRequest(config, uncPath);
                    req.setDesiredAccess(access);
                    setCreateDisposition(req, flags);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
            return r;
        }
    
        /**
         * @return whether this is SMB2 transport
         * @throws SmbException
         */
        @Override
        public boolean isSMB2() throws SmbException {
            return this.smb2 || getNegotiateResponse() instanceof Smb2NegotiateResponse;
        }
    
        /**
         * @param digest
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

        /**
         * @param digest
         *            the digest to set
         * @throws SmbException
         */
        private void setDigest(SMBSigningDigest digest) throws SmbException {
            if (this.transport.isSMB2()) {
                this.digest = digest;
            } else {
                this.transport.setDigest(digest);
            }
        }
    
        /**
         * @return the digest
         * @throws SmbException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileHandleImpl.java

            try {
                if (t != null && isValid()) {
                    if (log.isDebugEnabled()) {
                        log.debug("Closing file handle " + this);
                    }
    
                    if (t.isSMB2()) {
                        final Smb2CloseRequest req = new Smb2CloseRequest(this.cfg, this.fileId);
                        t.send(req, RequestParam.NO_RETRY);
                    } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            }
    
            final Smb2NegotiateRequest r = (Smb2NegotiateRequest) req;
    
            DialectVersion selected = null;
            for (final DialectVersion dv : DialectVersion.values()) {
                if (!dv.isSMB2()) {
                    continue;
                }
                if (dv.getDialect() == getDialectRevision()) {
                    selected = dv;
                }
            }
    
            if (selected == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
Back to top