Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for rtid (0.57 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            // Given
            int tid = 12345;
            doNothing().when(request).setTid(tid);
    
            // When
            request.setTid(tid);
    
            // Then
            verify(request, times(1)).setTid(tid);
        }
    
        @Test
        @DisplayName("Test setTid with zero value")
        void testSetTidWithZero() {
            // Given
            int tid = 0;
            doNothing().when(request).setTid(tid);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            // Verify session.send was called and tid was set
            verify(session).send(request, response);
            assertEquals(123, request.tid);
        }
    
        @Test
        void testSendWithDfs() throws SmbException {
            SmbTree tree = new SmbTree(session, "testShare", "A:");
            tree.connectionState = 2; // Connected state
            tree.tid = 123;
            tree.inDfs = true;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // Test minimum valid TID
                smb2Response.setTreeId(0);
                assertTrue(smb2Response.isValidTid(), "TID 0 should be valid");
    
                // Test maximum valid TID
                smb2Response.setTreeId(Integer.MAX_VALUE);
                assertTrue(smb2Response.isValidTid(), "Maximum TID should be valid");
    
                // Test invalid TID
                smb2Response.setTreeId(-1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/TreeConnectResponse.java

     * service type, and DFS information for the connected share.
     *
     * @author mbechler
     */
    public interface TreeConnectResponse extends CommonServerMessageBlockResponse {
    
        /**
         * Returns the tree identifier (TID) assigned to this tree connection.
         *
         * @return tree id
         */
        int getTid();
    
        /**
         * Returns the service type of the connected share (e.g., A: for disk, LPT1: for printer, IPC for named pipe).
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top