Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for isSMB2 (0.06 sec)

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

                // and send it as a separate request instead
                String svc = null;
                int t = this.tid;
                request.setTid(t);
    
                if ( !transport.isSMB2() ) {
                    ServerMessageBlock req = (ServerMessageBlock) request;
                    svc = this.service;
                    if ( svc == null ) {
                        // there still is some kind of race condition, where?
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.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);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 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();
                    }
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                SmbComReadAndXResponse response = new SmbComReadAndXResponse(th.getConfig(), b, off);
                do {
                    r = len > this.readSize ? this.readSize : len;
    
                    if ( th.isSMB2() ) {
                        Smb2ReadRequest request = new Smb2ReadRequest(th.getConfig(), fh.getFileId(), b, off);
                        request.setOffset(this.fp);
                        request.setReadLength(r);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  5. 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 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  6. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  7. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/KerberosTest.java

                  SmbTreeHandleInternal th = (SmbTreeHandleInternal) f.getTreeHandle();
                  SmbSessionInternal session = (SmbSessionInternal) th.getSession() ) {
                Assume.assumeTrue("Not SMB2", th.isSMB2());
                f.exists();
                session.reauthenticate();
                f.exists();
            }
        }
    
    
        @Test
        public void testSessionExpiration () throws Exception {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileOutputStream.java

            this.sharing = sharing;
            this.access = access | SmbConstants.FILE_WRITE_DATA;
    
            try ( SmbTreeHandleImpl th = file.ensureTreeConnected() ) {
                this.smb2 = th.isSMB2();
                try ( SmbFileHandleImpl fh = ensureOpen() ) {
                    if ( append ) {
                        this.fp = fh.getInitialSize();
                    }
                    init(th);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/ConcurrencyTest.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);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
Back to top