Documentation ¶
Index ¶
- Variables
- func LsacapServerHandle(ctx context.Context, o LsacapServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewLsacapServerHandle(o LsacapServer) dcerpc.ServerHandle
- func RegisterLsacapServer(conn dcerpc.Conn, o LsacapServer, opts ...dcerpc.Option)
- type GetAvailableCapIDsRequest
- type GetAvailableCapIDsResponse
- type LsacapClient
- type LsacapServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Syntax UUID LsacapSyntaxUUID = &uuid.UUID{TimeLow: 0xafc07e2e, TimeMid: 0x311c, TimeHiAndVersion: 0x4435, ClockSeqHiAndReserved: 0x80, ClockSeqLow: 0x8c, Node: [6]uint8{0xc4, 0x83, 0xff, 0xee, 0xc7, 0xc9}} // Syntax ID LsacapSyntaxV1_0 = &dcerpc.SyntaxID{IfUUID: LsacapSyntaxUUID, IfVersionMajor: 1, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "capr"
)
Functions ¶
func LsacapServerHandle ¶
func NewLsacapServerHandle ¶
func NewLsacapServerHandle(o LsacapServer) dcerpc.ServerHandle
func RegisterLsacapServer ¶
func RegisterLsacapServer(conn dcerpc.Conn, o LsacapServer, opts ...dcerpc.Option)
Types ¶
type GetAvailableCapIDsRequest ¶
type GetAvailableCapIDsRequest struct { }
GetAvailableCapIDsRequest structure represents the LsarGetAvailableCAPIDs operation request
func (*GetAvailableCapIDsRequest) MarshalNDR ¶
func (*GetAvailableCapIDsRequest) UnmarshalNDR ¶
type GetAvailableCapIDsResponse ¶
type GetAvailableCapIDsResponse struct { // WrappedCAPIDs: A pointer to LSAPR_WRAPPED_CAPID_SET, as defined in section 2.2.1.1. WrappedCapIDs *capr.WrappedCapidSet `idl:"name:WrappedCAPIDs" json:"wrapped_cap_ids"` // Return: The LsarGetAvailableCAPIDs return value. Return int32 `idl:"name:Return" json:"return"` }
GetAvailableCapIDsResponse structure represents the LsarGetAvailableCAPIDs operation response
func (*GetAvailableCapIDsResponse) MarshalNDR ¶
func (*GetAvailableCapIDsResponse) UnmarshalNDR ¶
type LsacapClient ¶
type LsacapClient interface { // This method returns a list of the CAPIDs of all the central access policies available // on the specified remote machine. These identifiers are equivalent to the SIDs of // the central access policy objects as they are stored in Active Directory. // // Return Values: // // If the method succeeds, the function MUST return 0x00000000 (ERROR_SUCCESS). GetAvailableCapIDs(context.Context, *GetAvailableCapIDsRequest, ...dcerpc.CallOption) (*GetAvailableCapIDsResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // Conn returns the client connection (unsafe) Conn() dcerpc.Conn }
lsacap interface.
func NewLsacapClient ¶
type LsacapServer ¶
type LsacapServer interface { // This method returns a list of the CAPIDs of all the central access policies available // on the specified remote machine. These identifiers are equivalent to the SIDs of // the central access policy objects as they are stored in Active Directory. // // Return Values: // // If the method succeeds, the function MUST return 0x00000000 (ERROR_SUCCESS). GetAvailableCapIDs(context.Context, *GetAvailableCapIDsRequest) (*GetAvailableCapIDsResponse, error) }
lsacap server interface.
Click to show internal directories.
Click to hide internal directories.