Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for dacl (0.85 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++) {
    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[i] = 0;
            // No SACL (offset 0)
            for (int i = 12; i < 16; i++)
                securityDescriptorBytes[i] = 0;
            // DACL at offset 20
            securityDescriptorBytes[16] = 20;
            securityDescriptorBytes[17] = 0;
            securityDescriptorBytes[18] = 0;
            securityDescriptorBytes[19] = 0;
    
            // DACL header at offset 20
    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

         */
        int GROUP_SECURITY_INFO = 0x2;
    
        /**
         * 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;
    
        /**
    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/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)
  5. 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)
  6. src/main/java/jcifs/SmbResource.java

         * the share permissions on the share exporting this file or directory.
         * If no DACL is present, null is returned. If the DACL is empty, an array with 0 elements is returned.
         * <p>
         * Note that this is different from calling <code>getSecurity</code> on a
         * share. There are actually two different ACLs for shares - the ACL on
         * the share and the ACL on the folder being shared.
         * Go to <i>Computer Management</i>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * the share permissions on the share exporting this file or directory.
         * If no DACL is present, null is returned. If the DACL is empty, an array with 0 elements is returned.
         * <p>
         * Note that this is different from calling {@code getSecurity} on a
         * share. There are actually two different ACLs for shares - the ACL on
         * the share and the ACL on the folder being shared.
         * Go to <i>Computer Management</i>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  8. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top