Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 137 for rpc (3.11 sec)

  1. src/test/java/jcifs/internal/witness/WitnessClientTest.java

         */
        private static class TestWitnessClient extends WitnessClient {
    
            public TestWitnessClient(InetAddress witnessServer, CIFSContext context, WitnessRpcClient rpcClient) {
                super(witnessServer, context, rpcClient);
            }
    
            // TestWitnessClient can use the parent implementation now since we inject the mock RPC client
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcException.java

     */
    
    package jcifs.dcerpc;
    
    import jcifs.CIFSException;
    import jcifs.smb.WinError;
    import jcifs.util.Hexdump;
    
    /**
     * Exception class for DCE/RPC related errors.
     * This exception is thrown when DCE/RPC protocol errors occur.
     */
    public class DcerpcException extends CIFSException implements DcerpcError, WinError {
    
        /**
         *
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

    /**
     * Abstract base class for DCERPC messages.
     * This class provides common functionality for all DCE/RPC message types in SMB1 protocol.
     */
    public abstract class DcerpcMessage extends NdrObject implements DcerpcConstants {
    
        /**
         * Default constructor for DcerpcMessage.
         * Initializes the DCE/RPC message structure for SMB1 protocol.
         */
        protected DcerpcMessage() {
            // Default constructor
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenDomain.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    import jcifs.smb1.dcerpc.rpc;
    
    /**
     * 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.
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.dcerpc.rpc;
    
    class MsrpcSamrOpenDomainTest {
    
        @Mock
        private SamrPolicyHandle mockHandle;
        @Mock
        private rpc.sid_t mockSid;
        @Mock
        private SamrDomainHandle mockDomainHandle;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcError.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc;
    
    /**
     * DCE/RPC error codes and fault constants for SMB1 compatibility
     */
    public interface DcerpcError {
    
        /**
         * Generic fault code for other errors
         */
        int DCERPC_FAULT_OTHER = 0x00000001;
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandle.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.dcerpc.msrpc;
    
    import jcifs.dcerpc.rpc.policy_handle;
    
    /**
     * Microsoft RPC SAM close handle request.
     * This class implements the SAMR close handle operation.
     *
     * @author mbechler
     */
    public class MsrpcSamrCloseHandle extends samr.SamrCloseHandle {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SIDTest.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SidResolver;
    import jcifs.dcerpc.rpc;
    
    class SIDTest {
    
        // Helper to build a minimal sid_t
        private static rpc.sid_t buildSidT(byte revision, byte[] identAuth, int... subs) {
            rpc.sid_t s = new rpc.sid_t();
            s.revision = revision;
            s.sub_authority_count = (byte) subs.length;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            ArgumentCaptor<MsrpcSamrCloseHandle> closeCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class);
            doAnswer(invocation -> {
                MsrpcSamrCloseHandle rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
                return null;
            }).when(mockHandle).sendrecv(closeCaptor.capture());
    
            SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SID.java

        }
    
        /**
         * Constructs a SID from an RPC sid_t structure.
         *
         * @param sid the RPC sid_t structure
         * @param type the SID type
         * @param domainName the domain name for this SID
         * @param acctName the account name for this SID
         * @param decrementAuthority whether to decrement the authority count
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top