- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for MsrpcSamrOpenDomain (0.65 sec)
-
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenDomain.java
/** * MS-RPC SAMR open domain operation. * * This class implements the SAMR OpenDomain operation for obtaining * a handle to a specific domain in the Security Account Manager. */ public class MsrpcSamrOpenDomain extends samr.SamrOpenDomain { /** * Creates a new request to open a domain handle. * * @param handle the SAM policy handle * @param access the desired access rights
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomain.java
import jcifs.dcerpc.rpc; /** * MSRPC implementation for opening a domain handle. * This class provides functionality to open a handle to a SAM domain * using the SAMR RPC interface. */ public class MsrpcSamrOpenDomain extends samr.SamrOpenDomain { /** * Creates a new request to open a domain handle. * * @param handle the SAM policy handle * @param access the desired access rights
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
@Mock private SamrPolicyHandle mockPolicyHandle; @Mock private rpc.sid_t mockSid; // Use ArgumentCaptor to capture the MsrpcSamrOpenDomain instance passed to sendrecv private ArgumentCaptor<MsrpcSamrOpenDomain> openDomainCaptor; // Use ArgumentCaptor to capture the MsrpcSamrCloseHandle instance passed to sendrecv private ArgumentCaptor<MsrpcSamrCloseHandle> closeHandleCaptor;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java
// Given int access = 0x01; // Example access value // When MsrpcSamrOpenDomain msrpcSamrOpenDomain = new MsrpcSamrOpenDomain(mockHandle, access, mockSid, mockDomainHandle); // Then // Verify that ptype is set to 0 assertEquals(0, msrpcSamrOpenDomain.getPtype(), "ptype should be initialized to 0");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java
public SamrDomainHandle(final DcerpcHandle handle, final SamrPolicyHandle policyHandle, final int access, final rpc.sid_t sid) throws IOException { this.handle = handle; final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } this.opened = true; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java
public SamrDomainHandle(final DcerpcHandle handle, final SamrPolicyHandle policyHandle, final int access, final rpc.sid_t sid) throws IOException { this.handle = handle; final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0)