Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for RPC (0.01 sec)

  1. src/main/java/jcifs/smb1/dcerpc/rpc.java

    import jcifs.smb1.dcerpc.ndr.NdrObject;
    
    /**
     * RPC data structure definitions for DCE/RPC protocol support.
     * This class contains NDR (Network Data Representation) encodable/decodable structures
     * used in DCE/RPC communications.
     */
    public class rpc {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private rpc() {
            // Utility class
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/rpc.java

    import jcifs.dcerpc.ndr.NdrException;
    import jcifs.dcerpc.ndr.NdrObject;
    
    /**
     * RPC data structure definitions for DCE/RPC protocol support.
     * This class contains NDR (Network Data Representation) encodable/decodable structures
     * used in DCE/RPC communications including UUID, policy handles, unicode strings, and SIDs.
     */
    @SuppressWarnings("all")
    public class rpc {
    
        /**
         * Private constructor to prevent instantiation of utility class.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SIDCacheImplTest.java

                    rpc.names.names[i].sid_type = (short) jcifs.SID.SID_TYPE_UNKNOWN;
                    rpc.names.names[i].name = new UnicodeString("", false);
                    rpc.names.names[i].sid_index = 0;
                }
                rpc.domains = new lsarpc.LsarRefDomainList();
                rpc.domains.count = 1;
                rpc.domains.max_count = 1;
                rpc.domains.domains = new lsarpc.LsarTrustInformation[1];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/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
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

            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);
            }
        }
    
        /**
         * Closes this SAM domain handle.
         *
         * @throws IOException if an I/O error occurs during handle closure
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

                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;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

                throws IOException {
            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);
            }
            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.5K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. 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)
Back to top