Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for isSMB2 (0.28 sec)

  1. src/main/java/jcifs/DialectVersion.java

        }
    
    
        private DialectVersion ( int dialectId ) {
            this.smb2 = true;
            this.dialect = dialectId;
        }
    
    
        /**
         * @return the smb2
         */
        public final boolean isSMB2 () {
            return this.smb2;
        }
    
    
        /**
         * @return the dialect
         */
        public final int getDialect () {
            if ( !this.smb2 ) {
                throw new UnsupportedOperationException();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                try {
                    entries = doMsrpcShareEnum(tc, locator, transport.getRemoteAddress());
                }
                catch ( IOException ioe ) {
                    if ( th.isSMB2() ) {
                        throw ioe;
                    }
                    log.debug("doMsrpcShareEnum failed", ioe);
                    entries = doNetShareEnum(th);
                }
    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)
  3. src/test/java/jcifs/tests/FileOperationsTest.java

                    }
                }
                catch ( SmbUnsupportedOperationException e ) {
                    try ( SmbTreeHandle th = defaultShareRoot.getTreeHandle() ) {
                        Assume.assumeTrue("Not SMB2", th.isSMB2());
                    }
                    throw e;
                }
                finally {
                    if ( !renamed && f.exists() ) {
                        f.delete();
                    }
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  4. 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 );
    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)
  5. src/main/java/jcifs/SmbTreeHandle.java

         * @param th
         * @return whether the handles refer to the same tree
         */
        boolean isSameTree ( SmbTreeHandle th );
    
    
        /**
         * @return whether this tree handle uses SMB2+
         */
        boolean isSMB2 ();
    
    
        /**
         * @return the remote host name
         */
        String getRemoteHostName ();
    
    
        /**
         * @return the tree type
         */
        int getTreeType ();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbCopyUtil.java

         */
        static void copyFile ( SmbFile src, SmbFile dest, byte[][] b, int bsize, WriterThread w, SmbTreeHandleImpl sh, SmbTreeHandleImpl dh )
                throws SmbException {
    
            if ( sh.isSMB2() && dh.isSMB2() && sh.isSameTree(dh) ) {
                try {
                    serverSideCopy(src, dest, sh, dh, false);
                    return;
                }
                catch ( SmbUnsupportedOperationException e ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

            this.signingEnforced = signingEnforced;
            setFlags2(config.getFlags2());
    
            if ( config.getMinimumVersion().isSMB2() ) {
                this.dialects = new String[] {
                    "SMB 2.???", "SMB 2.002"
                };
            }
            else if ( config.getMaximumVersion().isSMB2() ) {
                this.dialects = new String[] {
                    "NT LM 0.12", "SMB 2.???", "SMB 2.002"
                };
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.3K bytes
    - Viewed (0)
  8. 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 ( SmbException e ) {
                log.debug("Failed to connect for determining SMB2 support", e);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportInternal.java

         */
        SmbSession getSmbSession ( CIFSContext tf, String targetHost, String targetDomain );
    
    
        /**
         * @return whether this is a SMB2 connection
         * @throws SmbException
         */
        boolean isSMB2 () throws SmbException;
    
    
        /**
         * @return number of inflight requests
         */
        int getInflightRequests ();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/OplockTests.java

                  SmbTreeInternal tree = sess.unwrap(SmbSessionInternal.class).getSmbTree(getTestShare(), null).unwrap(SmbTreeInternal.class) ) {
    
                if ( trans.isSMB2() ) {
                    Smb2CreateRequest create = new Smb2CreateRequest(sess.getConfig(), "\\foocc");
                    create.setCreateDisposition(Smb2CreateRequest.FILE_OPEN_IF);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
Back to top