iadproxy2

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IADProxy2 interface identifier c4b0c7d9-abe0-4733-a1e1-9fdedf260c7a
	IADProxy2IID = &dcom.IID{Data1: 0xc4b0c7d9, Data2: 0xabe0, Data3: 0x4733, Data4: []byte{0xa1, 0xe1, 0x9f, 0xde, 0xdf, 0x26, 0x0c, 0x7a}}
	// Syntax UUID
	IADProxy2SyntaxUUID = &uuid.UUID{TimeLow: 0xc4b0c7d9, TimeMid: 0xabe0, TimeHiAndVersion: 0x4733, ClockSeqHiAndReserved: 0xa1, ClockSeqLow: 0xe1, Node: [6]uint8{0x9f, 0xde, 0xdf, 0x26, 0xc, 0x7a}}
	// Syntax ID
	IADProxy2SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: IADProxy2SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/dfsrh"
)

Functions

func IADProxy2ServerHandle

func IADProxy2ServerHandle(ctx context.Context, o IADProxy2Server, opNum int, r ndr.Reader) (dcerpc.Operation, error)

func NewIADProxy2ServerHandle

func NewIADProxy2ServerHandle(o IADProxy2Server) dcerpc.ServerHandle

func RegisterIADProxy2Server

func RegisterIADProxy2Server(conn dcerpc.Conn, o IADProxy2Server, opts ...dcerpc.Option)

Types

type CreateObject2Request

type CreateObject2Request struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This                           *dcom.ORPCThis  `idl:"name:This" json:"this"`
	DomainControllerName           *oaut.String    `idl:"name:domainControllerName" json:"domain_controller_name"`
	DistinguishedName              *oaut.String    `idl:"name:distinguishedName" json:"distinguished_name"`
	Attributes                     *oaut.SafeArray `idl:"name:attributes" json:"attributes"`
	VerifyNameDomainControllerName *oaut.String    `idl:"name:verifyNameDomainControllerName" json:"verify_name_domain_controller_name"`
	NetworkNameResourceName        *oaut.String    `idl:"name:networkNameResourceName" json:"network_name_resource_name"`
}

CreateObject2Request structure represents the CreateObject2 operation request

func (*CreateObject2Request) MarshalNDR

func (o *CreateObject2Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateObject2Request) UnmarshalNDR

func (o *CreateObject2Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateObject2Response

type CreateObject2Response struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The CreateObject2 return value.
	Return int32 `idl:"name:Return" json:"return"`
}

CreateObject2Response structure represents the CreateObject2 operation response

func (*CreateObject2Response) MarshalNDR

func (o *CreateObject2Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateObject2Response) UnmarshalNDR

func (o *CreateObject2Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type DeleteObject2Request

type DeleteObject2Request struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This                    *dcom.ORPCThis `idl:"name:This" json:"this"`
	DomainControllerName    *oaut.String   `idl:"name:domainControllerName" json:"domain_controller_name"`
	DistinguishedName       *oaut.String   `idl:"name:distinguishedName" json:"distinguished_name"`
	NetworkNameResourceName *oaut.String   `idl:"name:networkNameResourceName" json:"network_name_resource_name"`
}

DeleteObject2Request structure represents the DeleteObject2 operation request

func (*DeleteObject2Request) MarshalNDR

func (o *DeleteObject2Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*DeleteObject2Request) UnmarshalNDR

func (o *DeleteObject2Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type DeleteObject2Response

type DeleteObject2Response struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The DeleteObject2 return value.
	Return int32 `idl:"name:Return" json:"return"`
}

DeleteObject2Response structure represents the DeleteObject2 operation response

func (*DeleteObject2Response) MarshalNDR

func (o *DeleteObject2Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*DeleteObject2Response) UnmarshalNDR

func (o *DeleteObject2Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type IADProxy2Client

type IADProxy2Client interface {

	// IADProxy retrieval method.
	IADProxy() iadproxy.IADProxyClient

	// CreateObject2 operation.
	CreateObject2(context.Context, *CreateObject2Request, ...dcerpc.CallOption) (*CreateObject2Response, error)

	// DeleteObject2 operation.
	DeleteObject2(context.Context, *DeleteObject2Request, ...dcerpc.CallOption) (*DeleteObject2Response, error)

	// ModifyObject2 operation.
	ModifyObject2(context.Context, *ModifyObject2Request, ...dcerpc.CallOption) (*ModifyObject2Response, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error

	// IPID sets the object interface identifier.
	IPID(context.Context, *dcom.IPID) IADProxy2Client
}

IADProxy2 interface.

func NewIADProxy2Client

func NewIADProxy2Client(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (IADProxy2Client, error)

type IADProxy2Server

type IADProxy2Server interface {

	// IADProxy base class.
	iadproxy.IADProxyServer

	// CreateObject2 operation.
	CreateObject2(context.Context, *CreateObject2Request) (*CreateObject2Response, error)

	// DeleteObject2 operation.
	DeleteObject2(context.Context, *DeleteObject2Request) (*DeleteObject2Response, error)

	// ModifyObject2 operation.
	ModifyObject2(context.Context, *ModifyObject2Request) (*ModifyObject2Response, error)
}

IADProxy2 server interface.

type ModifyObject2Request

type ModifyObject2Request struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This                    *dcom.ORPCThis  `idl:"name:This" json:"this"`
	DomainControllerName    *oaut.String    `idl:"name:domainControllerName" json:"domain_controller_name"`
	DistinguishedName       *oaut.String    `idl:"name:distinguishedName" json:"distinguished_name"`
	Attributes              *oaut.SafeArray `idl:"name:attributes" json:"attributes"`
	NetworkNameResourceName *oaut.String    `idl:"name:networkNameResourceName" json:"network_name_resource_name"`
}

ModifyObject2Request structure represents the ModifyObject2 operation request

func (*ModifyObject2Request) MarshalNDR

func (o *ModifyObject2Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ModifyObject2Request) UnmarshalNDR

func (o *ModifyObject2Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ModifyObject2Response

type ModifyObject2Response struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The ModifyObject2 return value.
	Return int32 `idl:"name:Return" json:"return"`
}

ModifyObject2Response structure represents the ModifyObject2 operation response

func (*ModifyObject2Response) MarshalNDR

func (o *ModifyObject2Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ModifyObject2Response) UnmarshalNDR

func (o *ModifyObject2Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL