Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 180 for rpc (0.01 sec)

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

            this.handle = handle;
            if (server == null) {
                server = "\\\\";
            }
            final MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
        @Override
        public synchronized void close() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java

            this.handle = handle;
            if (server == null) {
                server = "\\\\";
            }
            final MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
        }
    
        /**
         * Closes the LSA policy handle.
         *
         * @throws IOException if an I/O error occurs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            assertNull(unicodeStringFalse.buffer, "Buffer should be null for empty string");
        }
    
        @Test
        void testConstructorWithRpcUnicodeStringAndZterm() {
            // Create a dummy rpc.unicode_string
            rpc.unicode_string dummyRus = new rpc.unicode_string();
            dummyRus.length = 10;
            dummyRus.maximum_length = 20;
            dummyRus.buffer = new short[] { 'H', 'e', 'l', 'l', 'o' };
    
            // Test with zterm = true
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SID.java

            MsrpcGetMembersInAlias rpc = null;
    
            try {
                aliasHandle = new SamrAliasHandle(handle, domainHandle, 0x0002000c, rid);
                rpc = new MsrpcGetMembersInAlias(aliasHandle, sidarray);
                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
    - 31.5K bytes
    - Viewed (0)
  8. 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 Version
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top