Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DACL (0.02 sec)

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

            SMBUtil.writeInt4(0, buffer, offset + 12); // SACL offset
            SMBUtil.writeInt4(20, buffer, offset + 16); // DACL offset
    
            // DACL header at offset 20
            prepareDaclHeader(buffer, offset + 20, aceCount);
    
            // Add ACEs
            int aceOffset = offset + 28; // After DACL header
            for (int i = 0; i < aceCount; i++) {
                prepareSimpleAce(buffer, aceOffset);
    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

            infoField.set(msrpcShareGetInfo, info502);
    
            // Test getSecurity - with no DACL, it should return null
            ACE[] result = msrpcShareGetInfo.getSecurity();
            assertNull(result);
        }
    
        @Test
        void testGetSecurityWithDACL() throws Exception {
            // Setup ShareInfo502 with a security descriptor containing a DACL with no ACEs
            srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502();
    
    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/NtTransQuerySecurityDescResponseTest.java

            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
            buffer.put((byte) 0x01); // SubAuthorityCount
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

                    Arguments.of(DACL_SECURITY_INFORMATION, "DACL security information only"),
                    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/SmbResource.java

        /**
         * Return an array of Access Control Entry (ACE) objects representing
         * the security descriptor associated with this file or directory.
         * If no DACL is present, null is returned. If the DACL is empty, an array with 0 elements is returned.
         *
         * @param resolveSids
         *            Attempt to resolve the SIDs within each ACE form
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            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());
            assertTrue(response.getInfo() instanceof SecurityDescriptor);
        }
    
    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