Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenAlias.java

         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @param aliasHandle the alias handle to be populated
         */
        public MsrpcSamrOpenAlias(final SamrDomainHandle handle, final int access, final int rid, final SamrAliasHandle aliasHandle) {
            super(handle, access, rid, aliasHandle);
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

                new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid);
            });
    
            assertEquals(errorCode, thrown.getNtStatus());
        }
    
        @Test
        void close_shouldCloseAliasSuccessfully() throws IOException {
            // Arrange
            int access = 1;
            int rid = 100;
    
            // Mock constructor success
            doAnswer(invocation -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java

         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrAliasHandle(final DcerpcHandle handle, final SamrDomainHandle domainHandle, final int access, final int rid)
                throws IOException {
            this.handle = handle;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/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: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAlias.java

         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @param aliasHandle the alias handle to be populated
         */
        public MsrpcSamrOpenAlias(final SamrDomainHandle handle, final int access, final int rid, final SamrAliasHandle aliasHandle) {
            super(handle, access, rid, aliasHandle);
            this.ptype = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

        void testConstructorInitialization() {
            // Given
            int access = 0x01; // Example access value
            int rid = 123; // Example RID value
    
            // When
            MsrpcSamrOpenAlias msrpcSamrOpenAlias = new MsrpcSamrOpenAlias(mockDomainHandle, access, rid, mockAliasHandle);
    
            // Then
            assertNotNull(msrpcSamrOpenAlias, "MsrpcSamrOpenAlias object should not be null");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrAliasHandle(final DcerpcHandle handle, final SamrDomainHandle domainHandle, final int access, final int rid)
                throws IOException {
            this.handle = handle;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top