- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 137 for RPC (0.97 sec)
-
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) -
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)); // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
src/test/java/jcifs/SIDTest.java
* * @throws SmbException if the SID string is invalid */ @Test void testGetDomainSid() throws SmbException { // Create a mock RPC SID to simulate a user SID rpc.sid_t rpcSid = new rpc.sid_t(); rpcSid.revision = 1; rpcSid.sub_authority_count = 5; // Fixed: should be 5 for domain SID with RID rpcSid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 };Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
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) -
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; @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 44.5K bytes - Viewed (0)