- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 23 for RID (0.01 seconds)
-
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); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.1K bytes - Click Count (0) -
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()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0) -
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); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.4K bytes - Click Count (0) -
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 SIDCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.5K bytes - Click Count (0) -
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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16K bytes - Click Count (0) -
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
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: EncodingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.6K bytes - Click Count (0) -
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: EncodingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.7K bytes - Click Count (0) -
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 SIDCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
} } } @Override public SID[] getGroupMemberSids(final CIFSContext tc, final String authorityServerName, final jcifs.SID domsid, final int rid, final int flags) throws CIFSException { final lsarpc.LsarSidArray sidarray = new lsarpc.LsarSidArray(); MsrpcGetMembersInAlias rpc = null; synchronized (this.sidCache) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 13.6K bytes - Click Count (0)