Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 14 of 14 for CAP_NT_SMBS (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 +
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                    req.setFileInformation(new FileEndOfFileInformation(newLength));
                    th.send(req, RequestParam.NO_RETRY);
                } else if (th.hasCapability(SmbConstants.CAP_NT_SMBS)) {
                    th.send(new Trans2SetFileInformation(th.getConfig(), fh.getFid(), new FileEndOfFileInformation(newLength)),
                            new Trans2SetFileInformationResponse(th.getConfig()), RequestParam.NO_RETRY);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            when(tree.getReceiveBufferSize()).thenReturn(1024);
            when(tree.getSendBufferSize()).thenReturn(1024);
            when(tree.hasCapability(anyInt())).thenAnswer(inv -> ntSmbsCap && inv.getArgument(0).equals(SmbConstants.CAP_NT_SMBS));
            when(tree.areSignaturesActive()).thenReturn(false);
            when(tree.isSMB2()).thenReturn(smb2);
    
            when(file.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(fh);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

                        | (this.useUnicode || this.forceUnicode ? SmbConstants.FLAGS2_UNICODE : 0);
            }
    
            if (this.capabilities == 0) {
                this.capabilities = (this.useNTSmbs ? SmbConstants.CAP_NT_SMBS : 0) | (this.useNtStatus ? SmbConstants.CAP_STATUS32 : 0)
                        | (this.useExtendedSecurity ? SmbConstants.CAP_EXTENDED_SECURITY : 0)
                        | (this.useLargeReadWrite ? SmbConstants.CAP_LARGE_READX : 0)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
Back to Top