Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 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/main/java/jcifs/internal/dtyp/SecurityInfo.java

        /**
         * Flag indicating that discretionary access control list (DACL) information is requested or being set.
         */
        int DACL_SECURITY_INFO = 0x4;
    
        /**
         * Flag indicating that system access control list (SACL) information is requested or being set.
         */
        int SACL_SECURITY_INFO = 0x8;
    
        /**
         * Flag indicating that mandatory label information is requested or being set.
         */
        int LABEL_SECURITY_INFO = 0x10;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

            final int ownerGOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to group sid
            bufferIndex += 4;
            final int saclOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to sacl
            bufferIndex += 4;
            final int daclOffset = ServerMessageBlock.readInt4(buffer, bufferIndex);
    
            if (ownerUOffset > 0) {
                bufferIndex = start + ownerUOffset;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

            bufferIndex += 4;
            final int ownerGOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to group sid
            bufferIndex += 4;
            SMBUtil.readInt4(buffer, bufferIndex); // offset to sacl
            bufferIndex += 4;
            final int daclOffset = SMBUtil.readInt4(buffer, bufferIndex);
    
            if (ownerUOffset > 0) {
                bufferIndex = start + ownerUOffset;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. 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)
  8. 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