- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 220 for grpc (0.02 sec)
-
src/main/java/jcifs/internal/witness/WitnessRpcMessage.java
import jcifs.dcerpc.DcerpcMessage; import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /** * Base class for SMB Witness Protocol RPC messages as defined in MS-SWN specification. * This class extends DcerpcMessage to provide witness-specific RPC operations. */ public abstract class WitnessRpcMessage extends DcerpcMessage { // MS-SWN Witness Protocol Interface UUID and VersionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
// Arrange int access = 0x01; // Example access value // Simulate successful RPC call doAnswer(invocation -> { MsrpcSamrOpenDomain rpc = invocation.getArgument(0); rpc.retval = 0; // Success return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenDomain.class)); // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K 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/internal/witness/WitnessRpcClient.java
private DcerpcHandle rpcHandle; // Witness RPC interface private static final String WITNESS_INTERFACE_UUID = "ccd8c074-d0e5-4a40-92b4-d074faa6ba28"; private static final int WITNESS_INTERFACE_VERSION = 1; // RPC connection parameters private static final int WITNESS_RPC_PORT = 135; private static final int WITNESS_RPC_TIMEOUT_MS = 5000; // RPC operation numbersRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.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/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/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/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
// Arrange String server = "testServer"; int access = 123; int errorCode = 12345; doAnswer(invocation -> { MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0); rpc.retval = errorCode; // Simulate RPC error return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class)); // Act & AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
cmd/bucket-policy.go
// `jwt:groups` works. if grpsVal, ok := claims["groups"]; ok { if grpsIs, ok := grpsVal.([]any); ok { grps := []string{} for _, gI := range grpsIs { if g, ok := gI.(string); ok { grps = append(grps, g) } } if len(grps) > 0 { args["groups"] = grps } } } // if not claim groups are available use the one with auth.Credentials
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0)