Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 137 for rpc (0.48 sec)

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

            public int retval;
            /** The SAM server handle */
            public rpc.policy_handle handle;
            /** The desired access rights to the domain */
            public int access_mask;
            /** The SID of the domain to open */
            public rpc.sid_t sid;
            /** The returned handle to the domain */
            public rpc.policy_handle domain_handle;
    
            /**
             * Constructs a SamrOpenDomain request.
    Registered: Sat Dec 20 13:44:44 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

            public int retval;
            /** The SAM server handle */
            public rpc.policy_handle handle;
            /** The desired access rights to the domain */
            public int access_mask;
            /** The SID of the domain to open */
            public rpc.sid_t sid;
            /** The returned handle to the domain */
            public rpc.policy_handle domain_handle;
    
            /**
             * Constructs a SamrOpenDomain request.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            // Arrange
            int access = 1;
            int rid = 100;
    
            // Mock the behavior of sendrecv for MsrpcSamrOpenAlias
            doAnswer(invocation -> {
                MsrpcSamrOpenAlias rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenAlias.class));
    
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SIDCacheImpl.java

                        rpc = new MsrpcGetMembersInAlias(aliasHandle, sidarray);
                        handle.sendrecv(rpc);
                        if (rpc.retval != 0) {
                            throw new SmbException(rpc.retval, false);
                        }
                        final SID[] sids = new SID[rpc.sids.num_sids];
    
                        final String origin_server = handle.getServer();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java

            this.handle = handle;
            final MsrpcSamrOpenAlias rpc = new MsrpcSamrOpenAlias(domainHandle, access, rid, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
        }
    
        /**
         * Closes this SAM alias handle.
         *
         * @throws IOException if an I/O error occurs during handle closure
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            lsarpc.LsarDnsDomainInfo dnsDomainInfo = new lsarpc.LsarDnsDomainInfo();
            dnsDomainInfo.name = new rpc.unicode_string();
            dnsDomainInfo.dns_domain = new rpc.unicode_string();
            dnsDomainInfo.dns_forest = new rpc.unicode_string();
            dnsDomainInfo.domain_guid = new rpc.uuid_t();
            dnsDomainInfo.sid = mock(rpc.sid_t.class);
    
            when(mockNdrBuffer.dec_ndr_short()).thenReturn(10, 20, 12, 24, 14, 28);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/UUIDTest.java

        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Constructor with rpc.uuid_t should copy all fields correctly")
            void testConstructorWithRpcUuidT() {
                // Arrange
                rpc.uuid_t rpcUuid = new rpc.uuid_t();
                rpcUuid.time_low = TIME_LOW;
                rpcUuid.time_mid = TIME_MID;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

            /** Domain NetBIOS name. */
            public rpc.unicode_string name;
            /** DNS domain name. */
            public rpc.unicode_string dns_domain;
            /** DNS forest name. */
            public rpc.unicode_string dns_forest;
            /** Domain GUID. */
            public rpc.uuid_t domain_guid;
            /** Domain security identifier. */
            public rpc.sid_t sid;
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

         * @throws IOException if an I/O error occurs during handle closure
         */
        public void close() throws IOException {
            final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java

            if (this.opened) {
                this.opened = false;
                final samr.SamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
                this.handle.sendrecv(rpc);
                if (rpc.retval != 0) {
                    throw new SmbException(rpc.retval, false);
                }
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top