Module jcifs

Class samr.SamrConnect2

All Implemented Interfaces:
DcerpcConstants
Direct Known Subclasses:
MsrpcSamrConnect2
Enclosing class:
samr

public static class samr.SamrConnect2 extends DcerpcMessage
SAMR Connect2 operation for establishing a connection to the SAM database. This operation opens the SAM database on a remote server.
  • Field Details

    • retval

      public int retval
      The return value of the operation
    • system_name

      public String system_name
      The NetBIOS name of the server to connect to
    • access_mask

      public int access_mask
      The desired access rights to the SAM server
    • handle

      public rpc.policy_handle handle
      The returned handle to the SAM server
  • Constructor Details

    • SamrConnect2

      public SamrConnect2(String system_name, int access_mask, rpc.policy_handle handle)
      Constructs a SamrConnect2 request.
      Parameters:
      system_name - The NetBIOS name of the server
      access_mask - The desired access rights
      handle - The policy handle to receive the connection handle
  • Method Details