Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 215 for grpc (0.03 sec)

  1. 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 numbers
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. 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 & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            lsarpc.LsarDomainInfo domainInfo = new lsarpc.LsarDomainInfo();
            domainInfo.name = new rpc.unicode_string();
            domainInfo.name.length = 10;
            domainInfo.name.maximum_length = 20;
            domainInfo.name.buffer = new short[] { 'T', 'e', 's', 't', '1' };
    
            // Create a simple test SID
            domainInfo.sid = new rpc.sid_t();
            domainInfo.sid.revision = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/rpcTest.java

            void testPolicyHandleEncode() throws NdrException {
                // Given: A policy handle with test values
                rpc.policy_handle policyHandle = new rpc.policy_handle();
                policyHandle.type = 123;
                policyHandle.uuid = new rpc.uuid_t();
                policyHandle.uuid.time_low = 0x11111111;
                policyHandle.uuid.time_mid = (short) 0x2222;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top