Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 460 for tflags (1.6 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertTrue(str.contains("securityInformation=0x" + Hexdump.toHexString(securityInfo, 8)));
        }
    
        @Test
        @DisplayName("Test constructor with different security information flags")
        void testConstructorWithDifferentSecurityFlags() {
            int fid = 0x5678;
            int securityInfo = ALL_SECURITY_INFORMATION;
    
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, securityInfo);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

        /**
         * Constructs a ValidateNegotiateInfo request
         *
         * @param capabilities
         *            the client capabilities flags
         * @param clientGuid
         *            the client GUID
         * @param securityMode
         *            the security mode flags
         * @param dialects
         *            the SMB dialects supported by the client
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            int bodyOffset = Smb2Constants.SMB2_HEADER_LENGTH;
    
            // Structure size
            assertEquals(25, SMBUtil.readInt2(buffer, bodyOffset));
    
            // Flags (VcNumber) and SecurityMode
            assertEquals(0x01, buffer[bodyOffset + 2] & 0xFF); // Session binding flag
            assertEquals(securityMode, buffer[bodyOffset + 3] & 0xFF);
    
            // Capabilities
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                    // need fragementation
                    msg.flags &= ~DCERPC_LAST_FRAG;
                    fragSize = this.max_xmit - 24;
                } else {
                    msg.flags |= DCERPC_LAST_FRAG;
                    msg.alloc_hint = fragSize;
                }
    
                msg.length = 24 + fragSize;
    
                if (off > 0) {
                    msg.flags &= ~DCERPC_FIRST_FRAG;
                }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

            this.decode(buffer, bufferIndex, len);
        }
    
        /**
         * Gets the type flags of this security descriptor.
         *
         * @return the type flags indicating security descriptor control flags
         */
        public final int getType() {
            return this.type;
        }
    
        /**
         * Gets the access control entries (ACEs) from this security descriptor.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

                assertEquals(100L, t.delay, "Default delay should be 100");
            }
    
            @Test
            @DisplayName("Multiple flags are parsed correctly")
            void multipleFlags() {
                TestLocking t = new TestLocking();
    
                // Parse multiple flags
                String[] args = { "-t", "3", "-i", "7", "-d", "200", "smb://test/file.txt" };
                for (int ai = 0; ai < args.length; ai++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

                message.setIpAddress(request.getServerAddress());
                message.setClientComputerName(context.getConfig().getNetbiosHostname());
                message.setFlags(request.getFlags());
                message.setTimeout((int) (context.getConfig().getWitnessRegistrationTimeout() / 1000));
    
                // Send the RPC request
                rpcHandle.sendrecv(message);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                    + ",maxParameterCount=" + maxParameterCount + ",maxDataCount=" + maxDataCount + ",maxSetupCount=" + (int) maxSetupCount
                    + ",flags=0x" + Hexdump.toHexString(flags, 2) + ",timeout=" + timeout + ",parameterCount=" + parameterCount
                    + ",parameterOffset=" + parameterOffset + ",parameterDisplacement=" + parameterDisplacement + ",dataCount=" + dataCount
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            final int start = dstIndex;
    
            if (log.isDebugEnabled()) {
                log.debug("Opening " + this.name);
                log.debug("Flags are " + Hexdump.toHexString(getFlags(), 4));
            }
    
            SMBUtil.writeInt2(57, dst, dstIndex);
            dst[dstIndex + 2] = this.securityFlags;
            dst[dstIndex + 3] = this.requestedOplockLevel;
            dstIndex += 4;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top