Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for SMBs (0.02 sec)

  1. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                /*
                 * A word about communicating header info to andx smbs
                 *
                 * This is where we recursively invoke the provided andx smb
                 * object to write it's parameter words and bytes to our outgoing
                 * array. Incedentally when these andx smbs are created they are not
                 * necessarily populated with header data because they're not writing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                /*
                 * A word about communicating header info to andx smbs
                 *
                 * This is where we recursively invoke the provided andx smb
                 * object to write it's parameter words and bytes to our outgoing
                 * array. Incedentally when these andx smbs are created they are not
                 * necessarily populated with header data because they're not writing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Whether signing is preferred */
        boolean SIGNPREF = Config.getBoolean("jcifs.smb1.smb.client.signingPreferred", false);
        /** Whether to use NT SMBs */
        boolean USE_NTSMBS = Config.getBoolean("jcifs.smb1.smb.client.useNTSmbs", true);
        /** Whether to use extended security */
        boolean USE_EXTSEC = Config.getBoolean("jcifs.smb1.smb.client.useExtendedSecurity", true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/StringsTest.java

                    "'smb2://admin:admin123@192.168.1.1/folder', 'smb2://admin:******@192.168.1.1/folder'",
                    "'smbs://test:p@******@****.***/share', 'smbs://test:******@example.com/share'" })
            void testMaskSecretValueWithCredentials(String input, String expected) {
                // When
                String result = Strings.maskSecretValue(input);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            byte[] buf = new byte[256];
            int n = block.writeAndXWireFormat(buf, 0);
    
            assertTrue(n > 0);
            // Note: In actual implementation, uid is NOT propagated for non-AndX SMBs
            // uid is only set for AndXServerMessageBlock instances (line 167 in AndXServerMessageBlock.java)
            // Only useUnicode is set before the instanceof check (line 149)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbConstants.java

         * Unicode strings are supported capability.
         */
        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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

            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 +
            // CAP_LARGE_WRITE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                } else {
                    // t isn't in DST either
                }
            }
            writeInt4((int) (t / 1000L), dst, dstIndex);
        }
    
        /*
         * These are all the smbs supported by this library. This includes requests
         * and well as their responses for each type however the actuall implementations
         * of the readXxxWireFormat and writeXxxWireFormat methods may not be in
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            raf.setLength(100L);
    
            verify(tree, times(1)).send(any(Smb2SetInfoRequest.class), eq(RequestParam.NO_RETRY));
        }
    
        @Test
        @DisplayName("setLength(): NT SMBs capability uses Trans2SetFileInformation")
        void setLength_ntsmbs_usesTrans2() throws Exception {
            SmbRandomAccessFile raf = newInstance("rw", false, true, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

     * message types including encoding, decoding, and message handling.
     *
     * @author mbechler
     */
    public abstract class ServerMessageBlock2 implements CommonServerMessageBlock {
    
        /*
         * These are all the smbs supported by this library. This includes requests
         * and well as their responses for each type however the actual implementations
         * of the readXxxWireFormat and writeXxxWireFormat methods may not be in
    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