Module jcifs

Class samr.SamrConnect4

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

public static class samr.SamrConnect4 extends DcerpcMessage
SAMR Connect4 operation for establishing a connection to the SAM database. This is an enhanced version of Connect2 with additional parameters.
  • 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
    • unknown

      public int unknown
      Reserved parameter, must be set to 2
    • 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

    • SamrConnect4

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