Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 388 for Flags2 (0.11 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

            this.maxSetupCount = 0;
        }
    
        @Override
        public void reset(final int rk, final String lastName) {
            super.reset();
            this.resumeKey = rk;
            this.filename = lastName;
            this.flags2 = 0;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = getSubCommand();
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Status (4 bytes) - success
            buffer[5] = 0x00;
            buffer[6] = 0x00;
            buffer[7] = 0x00;
            buffer[8] = 0x00;
    
            // Flags
            buffer[9] = 0x00;
    
            // Flags2 (2 bytes)
            buffer[10] = 0x00;
            buffer[11] = 0x00;
    
            // Process ID High (2 bytes)
            buffer[12] = 0x00;
            buffer[13] = 0x00;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                if (byteCount > server.encryptionKeyLength) {
                    int len = 0;
                    // Use appropriate string decoding based on Unicode flag
                    try {
                        if ((flags2 & FLAGS2_UNICODE) == FLAGS2_UNICODE) {
                            while (buffer[bufferIndex + len] != (byte) 0x00 || buffer[bufferIndex + len + 1] != (byte) 0x00) {
                                len += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameServicePacketTest.java

            assertEquals((byte) 0x34, dst[1]);
            assertEquals((byte) (0x80 | (NameServicePacket.QUERY << 3) | 0x04 | 0x02 | 0x01), dst[2]); // flags1
            assertEquals((byte) (0x80 | 0x10 | NameServicePacket.FMT_ERR), dst[3]); // flags2
            assertEquals((byte) 0x00, dst[4]); // questionCount
            assertEquals((byte) 0x01, dst[5]);
            assertEquals((byte) 0x00, dst[6]); // answerCount
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(0x40, SmbConstants.FLAGS_NOTIFY_OF_MODIFY_ACTION);
            assertEquals(0x80, SmbConstants.FLAGS_RESPONSE);
        }
    
        @Test
        @DisplayName("Should define SMB flags2 constants")
        void testSmbFlags2() {
            assertEquals(0x0000, SmbConstants.FLAGS2_NONE);
            assertEquals(0x0001, SmbConstants.FLAGS2_LONG_FILENAMES);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            // Setup server data for this scenario
            serverData.capabilities = 0; // No extended security
            serverData.encryptionKeyLength = 8;
            response.flags2 = ServerMessageBlock.FLAGS2_UNICODE;
            byte[] domainNameBytes = "DOMAIN_U".getBytes("UTF-16LE");
            response.byteCount = 8 + domainNameBytes.length + 2; // key + domain + null terminator
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTree.java

                     *   \server\share\path\to\file
                     * as opposed to normally
                     *   \path\to\file
                     */
                    request.flags2 = SmbConstants.FLAGS2_RESOLVE_PATHS_IN_DFS;
                    request.path = '\\' + session.transport().tconHostName + '\\' + share + request.path;
                }
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            // For A: service with DFS, path should be modified (share name is uppercased)
            assertEquals("\\testHost\\TESTSHARE\\testPath", request.path);
            assertEquals(ServerMessageBlock.FLAGS2_RESOLVE_PATHS_IN_DFS, request.flags2 & ServerMessageBlock.FLAGS2_RESOLVE_PATHS_IN_DFS);
        }
    
        @Test
        void testSendWithDfsIpcService() throws SmbException {
            SmbTree tree = new SmbTree(session, "testShare", "IPC");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Configuration.java

         *
         * @return custom capabilities
         */
        int getCapabilities();
    
        /**
         *
         *
         * Property {@code jcifs.smb.client.flags2} (int)
         *
         * @return custom flags2
         */
        int getFlags2();
    
        /**
         *
         * Property {@code jcifs.smb.client.ssnLimit} (int, 250)
         *
         * @return maximum number of sessions on a single connection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbConstants.java

         * access flags.
         */
        int FILE_SHARE_READ = 0x01;
        /**
         * When specified as the <code>shareAccess</code> constructor parameter,
         * other SMB clients will be permitted to write to the target file while
         * this file is open. This constant may be logically OR'd with other share
         * access flags.
         */
        int FILE_SHARE_WRITE = 0x02;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top