Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for daclOffset (0.65 sec)

  1. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

                bufferIndex = start + ownerGOffset;
                owner_group = new SID(buffer, bufferIndex);
                bufferIndex += 28; // ???
            }
    
            bufferIndex = start + daclOffset;
    
            if (daclOffset != 0) {
                bufferIndex++; // revision
                bufferIndex++;
                final int size = ServerMessageBlock.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            SMBUtil.writeInt4(daclOffset, testBuffer, 16); // DACL offset
    
            // DACL header at offset 100
            testBuffer[daclOffset] = 0x02; // revision
            testBuffer[daclOffset + 1] = 0x00; // padding
            SMBUtil.writeInt2(0, testBuffer, daclOffset + 2); // size
            SMBUtil.writeInt4(1, testBuffer, daclOffset + 4); // ACE count
    
            // Simple ACE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

                this.ownerGroupSid = new SID(buffer, bufferIndex);
                bufferIndex += 8 + 4 * this.ownerGroupSid.sub_authority_count;
            }
    
            bufferIndex = start + daclOffset;
    
            if (daclOffset > 0) {
                bufferIndex++; // revision
                bufferIndex++;
                SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502();
            // Create a minimal valid security descriptor binary
            // Format: revision(1) + sbz1(1) + control(2) + ownerOffset(4) + groupOffset(4) + saclOffset(4) + daclOffset(4) = 20 bytes minimum
            byte[] securityDescriptorBytes = new byte[20];
            securityDescriptorBytes[0] = 1; // revision
            securityDescriptorBytes[1] = 0; // sbz1
            // control flags (2 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top