Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SACL (0.01 sec)

  1. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            assertNull(securityDescriptor.getAces());
        }
    
        @Test
        @DisplayName("Test decode handles SACL offset correctly")
        void testDecodeHandlesSaclOffset() throws SMBProtocolDecodingException {
            // Prepare buffer with SACL offset (should be ignored)
            testBuffer[0] = 0x01; // revision
            testBuffer[1] = 0x00; // padding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            securityDescriptorBytes[1] = 0; // sbz1
            // control flags (2 bytes)
            securityDescriptorBytes[2] = 0;
            securityDescriptorBytes[3] = 0;
            // No owner, group, sacl, or dacl (all offsets are 0)
            // Rest of bytes are already 0
    
            info502.security_descriptor = securityDescriptorBytes;
            info502.sd_size = securityDescriptorBytes.length;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

                    Arguments.of(SACL_SECURITY_INFORMATION, "SACL security information only"),
                    Arguments.of(OWNER_SECURITY_INFORMATION | GROUP_SECURITY_INFORMATION, "Owner and Group"),
                    Arguments.of(DACL_SECURITY_INFORMATION | SACL_SECURITY_INFORMATION, "DACL and SACL"),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            buffer.putShort((short) 0x8004); // Control flags (SE_DACL_PRESENT | SE_SELF_RELATIVE)
            buffer.putInt(20); // Owner offset
            buffer.putInt(40); // Group offset
            buffer.putInt(0); // SACL offset (null)
            buffer.putInt(60); // DACL offset
    
            // Owner SID at offset 20
            buffer.position(20);
            buffer.put((byte) 0x01); // Revision
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            SMBUtil.writeInt2(0x8004, buffer, 22); // Control flags
            SMBUtil.writeInt4(0, buffer, 24); // Owner offset
            SMBUtil.writeInt4(0, buffer, 28); // Group offset
            SMBUtil.writeInt4(0, buffer, 32); // SACL offset
            SMBUtil.writeInt4(0, buffer, 36); // DACL offset
    
            int result = response.readBytesWireFormat(buffer, bufferIndex);
    
            assertNotNull(response.getInfo());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
Back to top