Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for RID (0.01 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/samr.java

            }
    
            /** The relative identifier (RID) */
            public int rid;
            /** The attributes associated with the RID */
            public int attributes;
    
            @Override
            public void encode(final NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(this.rid);
                _dst.enc_ndr_long(this.attributes);
    
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

            }
    
            /** The relative identifier (RID) */
            public int rid;
            /** The attributes associated with the RID */
            public int attributes;
    
            @Override
            public void encode(final NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(rid);
                _dst.enc_ndr_long(attributes);
    
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SIDTest.java

        }
    
        /**
         * Test constructor that combines a domain SID and an RID.
         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
        void testDomainSidAndRidConstructor() throws SmbException {
            SID domainSid = new SID("S-1-5-21-123-456-789");
            int rid = 1000;
            SID userSid = new SID(domainSid, rid);
            assertEquals("S-1-5-21-123-456-789-1000", userSid.toString());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SID.java

        }
    
        /**
         * Construct a SID from a domain SID and an RID
         * (relative identifier). For example, a domain SID
         * {@code S-1-5-21-1496946806-2192648263-3843101252} and RID {@code 1029} would
         * yield the SID {@code S-1-5-21-1496946806-2192648263-3843101252-1029}.
         */
        /**
         * Construct a SID from a domain SID and an RID (relative identifier).
         *
         * @param domsid the domain SID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SID.java

         * Construct a SID from a domain SID and an RID
         * (relative identifier). For example, a domain SID
         * {@code S-1-5-21-1496946806-2192648263-3843101252} and RID {@code 1029} would
         * yield the SID {@code S-1-5-21-1496946806-2192648263-3843101252-1029}.
         *
         * @param domsid the domain SID
         * @param rid the relative identifier
         */
        public SID(final SID domsid, final int rid) {
            this.revision = domsid.revision;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

        class SamrRidWithAttributeTests {
    
            @Test
            @DisplayName("Should encode RID with attribute correctly")
            void testEncode() throws NdrException {
                // Given: RID with attribute
                samr.SamrRidWithAttribute ridWithAttribute = new samr.SamrRidWithAttribute();
                ridWithAttribute.rid = 100;
                ridWithAttribute.attributes = 200;
    
                // When: Encoding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

        class SamrRidWithAttributeTests {
    
            @Test
            @DisplayName("Should encode RID with attribute correctly")
            void testEncode() throws NdrException {
                // Given: RID with attribute
                samr.SamrRidWithAttribute ridWithAttribute = new samr.SamrRidWithAttribute();
                ridWithAttribute.rid = 100;
                ridWithAttribute.attributes = 200;
    
                // When: Encoding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SIDTest.java

            }
    
            @Test
            @DisplayName("getGroupMemberSids: group types call resolver with domainSid and rid")
            void testGetGroupMemberSidsGroup() throws Exception {
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
                // Build a group SID with domain name and RID 512
                SID group = new SID(buildSidT((byte) 1, ident, 10, 20, 512), jcifs.SID.SID_TYPE_DOM_GRP, "DOM", "Domain Admins", false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

            /** Relative identifier. */
            public int rid;
            /** Index of the SID in the domain list. */
            public int sid_index;
    
            @Override
            public void encode(final NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_short(this.sid_type);
                _dst.enc_ndr_long(this.rid);
                _dst.enc_ndr_long(this.sid_index);
    
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacLogonInfoTest.java

            // Write a RID (4 bytes) for readId() method
            writeLittleEndianInt(dos, 1000);
    
            ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
            PacDataInputStream pacStream = new PacDataInputStream(bais);
    
            SID id = pacStream.readId();
            assertNotNull(id);
            // The RID should be incorporated into the SID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top