Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for RID (0.01 sec)

  1. 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)
  2. src/main/java/jcifs/dcerpc/msrpc/samr.idl

    			[in] uint32_t acct_flags,
    			[out,unique] SamrSamArray *sam,
    			[out] uint32_t num_entries);
    
    	[op(0x1b)]
    	int SamrOpenAlias([in] policy_handle *domain_handle,
    			[in] uint32_t access_mask,
    			[in] uint32_t rid,
    			[out] policy_handle *alias_handle);
    
    	[op(0x21)]
    	int SamrGetMembersInAlias([in] policy_handle *alias_handle,
    			[out] LsarSidArray *sids);
    
    	typedef [v1_enum] enum {
    		SE_GROUP_MANDATORY          = 0x00000001,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/SidResolver.java

         * @param domsid the domain SID
         * @param rid the group RID
         * @param flags resolution flags
         * @return the SIDs of the group members
         * @throws CIFSException if there is an error retrieving group members
         */
        SID[] getGroupMemberSids(CIFSContext tc, String authorityServerName, SID domsid, int rid, int flags) throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SID.java

        /**
         * Gets the domain SID for this SID.
         *
         * @return domain SID
         */
        SID getDomainSid();
    
        /**
         * Get the RID
         *
         * This is the last subauthority identifier
         *
         * @return the RID
         */
        int getRid();
    
        /**
         * Return a String representing this SID ideal for display to
         * users. This method should return the same text that the ACL
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K 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/test/java/jcifs/pac/PacDataInputStreamTest.java

        public void testReadId() throws IOException, PACDecodingException {
            // RID = 0x12345678 (305419896 in decimal, little-endian)
            byte[] data = new byte[] { 0x78, 0x56, 0x34, 0x12 };
            PacDataInputStream pdis = createInputStream(data);
            SID sid = pdis.readId();
            // The readId method creates a SID with authority 5 and the RID value
            // Expected format: S-1-5-305419896
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    		SID_NAME_INVALID  = 7, /* invalid account */
    		SID_NAME_UNKNOWN  = 8  /* oops. */
    	} LsarSidType;
    
    	typedef struct {
    		LsarSidType sid_type;
    		uint32_t rid;
    		uint32_t sid_index;
    	} LsarTranslatedSid;
    
    	typedef struct {
    		[range(0,1000)] uint32_t count;
    		[size_is(count)] LsarTranslatedSid *sids;
    	} LsarTransSidArray;
    
    	typedef struct {
    		unicode_string name;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (3)
Back to top