functions
import "github.com/TheManticoreProject/Manticore/network/dcerpc/interfaces/378e52b0-c0a9-11cf-822d-00aa0051e40f/1.0/functions"
Package functions holds the SASec method stubs (one per opnum) for the MS-TSCH SASec interface. Each stub marshals its request and unmarshals the response through an ndr.Invoker.
Index
- func SAGetAccountInformation(rpc ndr.Invoker, handle *ndr.WSTR, pwszJobName ndr.WSTR, ccBufferSize uint32) (string, error)
- func SAGetNSAccountInformation(rpc ndr.Invoker, handle *ndr.WSTR, ccBufferSize uint32) (string, error)
- func SASetAccountInformation(rpc ndr.Invoker, handle *ndr.WSTR, pwszJobName ndr.WSTR, pwszAccount ndr.WSTR, pwszPassword *ndr.WSTR, dwJobFlags ndr.DWORD) (err error)
- func SASetNSAccountInformation(rpc ndr.Invoker, handle *ndr.WSTR, pwszAccount *ndr.WSTR, pwszPassword *ndr.WSTR) (err error)
func SAGetAccountInformation
func SAGetAccountInformation(rpc ndr.Invoker, handle *ndr.WSTR, pwszJobName ndr.WSTR, ccBufferSize uint32) (string, error)
SAGetAccountInformation calls SAGetAccountInformation (opnum 3) ([MS-TSCH] 3.2.5.3.7). It retrieves the account name stored for the named .JOB task. The caller passes the task name and the buffer size in characters (ccBufferSize, at most MAX_BUFFER_SIZE); the stub allocates the [in,out] buffer of that size and returns the NUL-terminated account name the server writes into it.
func SAGetNSAccountInformation
func SAGetNSAccountInformation(rpc ndr.Invoker, handle *ndr.WSTR, ccBufferSize uint32) (string, error)
SAGetNSAccountInformation calls SAGetNSAccountInformation (opnum 2) ([MS-TSCH] 3.2.5.3.6). It retrieves the account name stored for the .NET-services task store. The caller passes the buffer size in characters (ccBufferSize, at most MAX_BUFFER_SIZE); the stub allocates the [in,out] buffer of that size and returns the NUL-terminated account name the server writes into it.
func SASetAccountInformation
func SASetAccountInformation(rpc ndr.Invoker, handle *ndr.WSTR, pwszJobName ndr.WSTR, pwszAccount ndr.WSTR, pwszPassword *ndr.WSTR, dwJobFlags ndr.DWORD) (err error)
SASetAccountInformation calls SASetAccountInformation (opnum 0) ([MS-TSCH] section 3.2.5.3.4).
func SASetNSAccountInformation
func SASetNSAccountInformation(rpc ndr.Invoker, handle *ndr.WSTR, pwszAccount *ndr.WSTR, pwszPassword *ndr.WSTR) (err error)
SASetNSAccountInformation calls SASetNSAccountInformation (opnum 1) ([MS-TSCH] section 3.2.5.3.5).