Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for CAP_NT_SMBS (0.05 sec)

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

                    req = r;
                } else {
                    if (!th.hasCapability(SmbConstants.CAP_NT_SMBS)) {
                        throw new SmbUnsupportedOperationException("Not supported without CAP_NT_SMBS");
                    }
    
                    /*
                     * NtTrans Notify Change Request / Response
                     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int CAP_MPX_MODE = 0x0002;
        /** Unicode capability */
        int CAP_UNICODE = 0x0004;
        /** Large files capability */
        int CAP_LARGE_FILES = 0x0008;
        /** NT SMBs capability */
        int CAP_NT_SMBS = 0x0010;
        /** RPC remote APIs capability */
        int CAP_RPC_REMOTE_APIS = 0x0020;
        /** 32-bit status codes capability */
        int CAP_STATUS32 = 0x0040;
        /** Level II oplocks capability */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbCopyUtil.java

                        req.setFileInformation(new FileBasicInfo(ctime, atime, mtime, 0L, attrs));
                        dh.send(req);
                    } else if (dh.hasCapability(SmbConstants.CAP_NT_SMBS)) {
                        // use the open file descriptor
                        dh.send(new Trans2SetFileInformation(dh.getConfig(), dfd.getFid(), attrs, ctime, mtime, atime),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(0x0002, SmbConstants.CAP_MPX_MODE);
            assertEquals(0x0004, SmbConstants.CAP_UNICODE);
            assertEquals(0x0008, SmbConstants.CAP_LARGE_FILES);
            assertEquals(0x0010, SmbConstants.CAP_NT_SMBS);
            assertEquals(0x0020, SmbConstants.CAP_RPC_REMOTE_APIS);
            assertEquals(0x0040, SmbConstants.CAP_STATUS32);
            assertEquals(0x0080, SmbConstants.CAP_LEVEL_II_OPLOCKS);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

            }
    
            try (SmbTreeHandleImpl th = ensureTreeConnected()) {
                if (!th.isSMB2() && !th.hasCapability(SmbConstants.CAP_NT_SMBS)) {
                    throw new SmbUnsupportedOperationException("Not supported without CAP_NT_SMBS");
                }
                return new SmbWatchHandleImpl(openUnshared(O_RDONLY, READ_CONTROL | GENERIC_READ, DEFAULT_SHARING, 0, 1), filter, recursive);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         *            the last access time as milliseconds since Jan 1, 1970
         * @throws CIFSException if an error occurs modifying the resource
         * @throws jcifs.smb.SmbUnsupportedOperationException
         *             if CAP_NT_SMBS is unavailable
         */
        void setFileTimes(long createTime, long lastModified, long lastAccess) throws CIFSException;
    
        /**
         * Set the last access time of the file. The time is specified as milliseconds
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                        th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig()));
                    }
    
                    if (th.hasCapability(SmbConstants.CAP_NT_SMBS) || this.uncPath.startsWith("\\pipe\\")) {
                        this.handle = this.pipe.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0);
                    } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbConstants.java

         */
        int CAP_UNICODE = 0x0004;
        /**
         * Large files are supported capability.
         */
        int CAP_LARGE_FILES = 0x0008;
        /**
         * NT SMBs are supported capability.
         */
        int CAP_NT_SMBS = 0x0010;
        int CAP_PERSISTENT_HANDLES = 0x0002;
        /**
         * RPC remote APIs are supported capability.
         */
        int CAP_RPC_REMOTE_APIS = 0x0020;
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            writeSize = file.tree.session.transport.snd_buf_size - 70;
    
            useNTSmbs = file.tree.session.transport.hasCapability(SmbConstants.CAP_NT_SMBS);
            if (useNTSmbs) {
                reqx = new SmbComWriteAndX();
                rspx = new SmbComWriteAndXResponse();
            } else {
                req = new SmbComWrite();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileOutputStream.java

            this.openFlags &= ~(SmbConstants.O_CREAT | SmbConstants.O_TRUNC); /* in case we close and reopen */
            this.writeSize = sendBufferSize - 70;
    
            this.useNTSmbs = th.hasCapability(SmbConstants.CAP_NT_SMBS);
            if (!this.useNTSmbs) {
                log.debug("No support for NT SMBs");
            }
    
            // there seems to be a bug with some servers that causes corruption if using signatures +
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top