Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for sam (0.41 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java

    import jcifs.smb1.smb1.SmbException;
    
    /**
     * Handle for Security Account Manager (SAM) alias operations.
     * This class represents an open handle to a SAM alias and provides
     * operations for managing alias membership and properties.
     */
    public class SamrAliasHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        /**
         * Creates a new SAM alias handle.
         *
         * @param handle the DCE/RPC handle for communication
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java

    /**
     * Handle for Security Account Manager (SAM) policy operations.
     * This class represents an open handle to a SAM server and provides
     * high-level access to SAM database operations.
     */
    public class SamrPolicyHandle extends rpc.policy_handle implements AutoCloseable {
    
        private final DcerpcHandle handle;
        private boolean opened;
    
        /**
         * Creates a new SAM policy handle.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandle.java

     */
    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 {
    
        /**
         * Creates a new request to close a SAM handle.
         *
         * @param handle the policy handle to close
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2.java

    package jcifs.smb1.dcerpc.msrpc;
    
    /**
     * MSRPC implementation for connecting to the SAM service.
     * This class provides functionality to establish a connection to the
     * Security Account Manager (SAM) database using the SAMR RPC interface.
     */
    public class MsrpcSamrConnect2 extends samr.SamrConnect2 {
    
        /**
         * Creates a new request to connect to the SAM service.
         *
         * @param server the server name to connect to
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect4.java

    package jcifs.dcerpc.msrpc;
    
    /**
     * MSRPC implementation for connecting to the SAM service (version 4).
     * This class provides functionality to establish a connection to the
     * Security Account Manager (SAM) database using the SAMR RPC interface version 4.
     */
    public class MsrpcSamrConnect4 extends samr.SamrConnect4 {
    
        /**
         * Creates a new request to connect to the SAM service.
         *
         * @param server the server name to connect to
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // When
            MsrpcEnumerateAliasesInDomain msrpc = new MsrpcEnumerateAliasesInDomain(mockDomainHandle, acctFlags, mockSamArray);
    
            // Then
            // Verify that the 'sam' field is set correctly
            assertEquals(mockSamArray, msrpc.sam, "The 'sam' field should be initialized with the provided SamrSamArray.");
    
            // Verify that the 'ptype' field is set to 0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomain.java

    /**
     * MSRPC implementation for opening a domain handle.
     * This class provides functionality to open a handle to a SAM domain
     * using the SAMR RPC interface.
     */
    public class MsrpcSamrOpenDomain extends samr.SamrOpenDomain {
    
        /**
         * Creates a new request to open a domain handle.
         *
         * @param handle the SAM policy handle
         * @param access the desired access rights
         * @param sid the security identifier of the domain
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

    /**
     * Handle for Security Account Manager (SAM) domain operations.
     * This class represents an open handle to a SAM domain and provides
     * operations for managing domain users, groups, and aliases.
     */
    public class SamrDomainHandle extends rpc.policy_handle implements AutoCloseable {
    
        private final DcerpcHandle handle;
        private boolean opened;
    
        /**
         * Creates a new SAM domain handle.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java

            assertEquals(acctFlags, request.acct_flags, "The account flags should be set correctly.");
            assertEquals(mockSamArray, request.sam, "The sam array should be set correctly.");
            // ptype and flags are protected fields in DcerpcMessage, cannot test directly
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

            @DisplayName("Should handle null sam in decode")
            void testDecodeOutNullSam() throws NdrException {
                // Given: Message with null sam
                samr.SamrEnumerateAliasesInDomain message = new samr.SamrEnumerateAliasesInDomain(mockPolicyHandle, 1, 2, null, 3);
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(10, 100, 1, 100, 5, 0); // resume_handle, _samp, sam.count, sam._entriesp, num_entries, retval
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
Back to top