Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for sub_authority_count (0.53 sec)

  1. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

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

                assertEquals("S-1-5-10-20", sid.toString());
            }
    
            @Test
            @DisplayName("Binary constructor with invalid sub_authority_count throws RuntimeCIFSException")
            void testBinaryConstructorInvalidCount() {
                // Arrange: second byte is sub_authority_count > 100
                byte[] bytes = new byte[1 + 1 + 6];
                bytes[0] = 1; // revision
                bytes[1] = (byte) 101; // invalid count
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            buffer.put((byte) 0x01); // SubAuthorityCount
            buffer.put(new byte[] { 0, 0, 0, 0, 0, 1 }); // IdentifierAuthority
            buffer.putInt(0); // SubAuthority
    
            // Group SID at offset 40
            buffer.position(40);
            buffer.put((byte) 0x01); // Revision
            buffer.put((byte) 0x01); // SubAuthorityCount
            buffer.put(new byte[] { 0, 0, 0, 0, 0, 2 }); // IdentifierAuthority
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top