Generated from Manticore v1.1.6 • 388 packages. View on pkg.go.dev

functions

import "github.com/TheManticoreProject/Manticore/network/dcerpc/interfaces/12345678-1234-abcd-ef00-01234567cffb/1.0/functions"

Index

func DsrAddressToSiteNamesExW

func DsrAddressToSiteNamesExW(rpc ndr.Invoker, computerName *ndr.WSTR, entryCount ndr.DWORD, socketAddresses []msnrpc.NL_SOCKET_ADDRESS) (SiteNames *msnrpc.NL_SITE_NAME_EX_ARRAY, err error)

DsrAddressToSiteNamesExW calls DsrAddressToSiteNamesExW (opnum 37) ([MS-NRPC] — verify the parameter modeling and status handling).

func DsrAddressToSiteNamesW

func DsrAddressToSiteNamesW(rpc ndr.Invoker, computerName *ndr.WSTR, entryCount ndr.DWORD, socketAddresses []msnrpc.NL_SOCKET_ADDRESS) (SiteNames *msnrpc.NL_SITE_NAME_ARRAY, err error)

DsrAddressToSiteNamesW calls DsrAddressToSiteNamesW (opnum 33) ([MS-NRPC] — verify the parameter modeling and status handling).

func DsrDeregisterDnsHostRecords

func DsrDeregisterDnsHostRecords(rpc ndr.Invoker, serverName *ndr.WSTR, dnsDomainName *ndr.WSTR, domainGuid *guid.GUID, dsaGuid *guid.GUID, dnsHostName *ndr.WSTR) (err error)

DsrDeregisterDnsHostRecords calls DsrDeregisterDnsHostRecords (opnum 41) ([MS-NRPC] — verify the parameter modeling and status handling).

func DsrEnumerateDomainTrusts

func DsrEnumerateDomainTrusts(rpc ndr.Invoker, serverName *ndr.WSTR, flags ndr.DWORD) (Domains msnrpc.NETLOGON_TRUSTED_DOMAIN_ARRAY, err error)

DsrEnumerateDomainTrusts calls DsrEnumerateDomainTrusts (opnum 40) ([MS-NRPC] — verify the parameter modeling and status handling).

func DsrGetDcName

func DsrGetDcName(rpc ndr.Invoker, computerName *ndr.WSTR, domainName *ndr.WSTR, domainGuid *guid.GUID, siteGuid *guid.GUID, flags ndr.DWORD) (DomainControllerInfo *msnrpc.DOMAIN_CONTROLLER_INFOW, err error)

DsrGetDcName calls DsrGetDcName (opnum 20) ([MS-NRPC] — verify the parameter modeling and status handling).

func DsrGetDcNameEx

func DsrGetDcNameEx(rpc ndr.Invoker, computerName *ndr.WSTR, domainName *ndr.WSTR, domainGuid *guid.GUID, siteName *ndr.WSTR, flags ndr.DWORD) (DomainControllerInfo *msnrpc.DOMAIN_CONTROLLER_INFOW, err error)

DsrGetDcNameEx calls DsrGetDcNameEx (opnum 27) ([MS-NRPC] — verify the parameter modeling and status handling).

func DsrGetDcNameEx2

func DsrGetDcNameEx2(rpc ndr.Invoker, computerName *ndr.WSTR, accountName *ndr.WSTR, allowableAccountControlBits ndr.DWORD, domainName *ndr.WSTR, domainGuid *guid.GUID, siteName *ndr.WSTR, flags ndr.DWORD) (DomainControllerInfo *msnrpc.DOMAIN_CONTROLLER_INFOW, err error)

DsrGetDcNameEx2 calls DsrGetDcNameEx2 (opnum 34) ([MS-NRPC] — verify the parameter modeling and status handling).

func DsrGetDcSiteCoverageW

func DsrGetDcSiteCoverageW(rpc ndr.Invoker, serverName *ndr.WSTR) (SiteNames *msnrpc.NL_SITE_NAME_ARRAY, err error)

DsrGetDcSiteCoverageW calls DsrGetDcSiteCoverageW (opnum 38) ([MS-NRPC] — verify the parameter modeling and status handling).

func DsrGetForestTrustInformation

func DsrGetForestTrustInformation(rpc ndr.Invoker, serverName *ndr.WSTR, trustedDomainName *ndr.WSTR, flags ndr.DWORD) (ForestTrustInfo *msnrpc.LSA_FOREST_TRUST_INFORMATION, err error)

DsrGetForestTrustInformation calls DsrGetForestTrustInformation (opnum 43) ([MS-NRPC] — verify the parameter modeling and status handling).

func DsrGetSiteName

func DsrGetSiteName(rpc ndr.Invoker, computerName *ndr.WSTR) (SiteName ndr.WSTR, err error)

DsrGetSiteName calls DsrGetSiteName (opnum 28) ([MS-NRPC] — verify the parameter modeling and status handling).

func DsrUpdateReadOnlyServerDnsRecords

func DsrUpdateReadOnlyServerDnsRecords(rpc ndr.Invoker, serverName *ndr.WSTR, computerName ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR, siteName *ndr.WSTR, dnsTtl ndr.DWORD, dnsNames msnrpc.NL_DNS_NAME_INFO_ARRAY) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, DnsNames msnrpc.NL_DNS_NAME_INFO_ARRAY, err error)

DsrUpdateReadOnlyServerDnsRecords calls DsrUpdateReadOnlyServerDnsRecords (opnum 48) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrAccountDeltas

func NetrAccountDeltas(rpc ndr.Invoker, primaryName *ndr.WSTR, computerName ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR, returnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, recordId msnrpc.UAS_INFO_0, count ndr.DWORD, level ndr.DWORD, bufferSize ndr.DWORD) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, Buffer []uint8, CountReturned ndr.DWORD, TotalEntries ndr.DWORD, NextRecordId msnrpc.UAS_INFO_0, err error)

NetrAccountDeltas calls NetrAccountDeltas (opnum 9) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrAccountSync

func NetrAccountSync(rpc ndr.Invoker, primaryName *ndr.WSTR, computerName ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR, returnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, reference ndr.DWORD, level ndr.DWORD, bufferSize ndr.DWORD) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, Buffer []uint8, CountReturned ndr.DWORD, TotalEntries ndr.DWORD, NextReference ndr.DWORD, LastRecordId msnrpc.UAS_INFO_0, err error)

NetrAccountSync calls NetrAccountSync (opnum 10) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrChainSetClientAttributes

func NetrChainSetClientAttributes(rpc ndr.Invoker, primaryName ndr.WSTR, chainedFromServerName ndr.WSTR, chainedForClientName ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR, returnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, dwInVersion ndr.DWORD, pmsgIn msnrpc.NL_IN_CHAIN_SET_CLIENT_ATTRIBUTES, pdwOutVersion ndr.DWORD, pmsgOut msnrpc.NL_OUT_CHAIN_SET_CLIENT_ATTRIBUTES) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, PdwOutVersion ndr.DWORD, PmsgOut msnrpc.NL_OUT_CHAIN_SET_CLIENT_ATTRIBUTES, err error)

NetrChainSetClientAttributes calls NetrChainSetClientAttributes (opnum 49) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrDatabaseDeltas

func NetrDatabaseDeltas(rpc ndr.Invoker, primaryName ndr.WSTR, computerName ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR, returnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, databaseID ndr.DWORD, domainModifiedCount msnrpc.NLPR_MODIFIED_COUNT, preferredMaximumLength ndr.DWORD) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, DomainModifiedCount msnrpc.NLPR_MODIFIED_COUNT, DeltaArray *msnrpc.NETLOGON_DELTA_ENUM_ARRAY, err error)

NetrDatabaseDeltas calls NetrDatabaseDeltas (opnum 7) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrDatabaseRedo

func NetrDatabaseRedo(rpc ndr.Invoker, primaryName ndr.WSTR, computerName ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR, returnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, changeLogEntry []uint8, changeLogEntrySize ndr.DWORD) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, DeltaArray *msnrpc.NETLOGON_DELTA_ENUM_ARRAY, err error)

NetrDatabaseRedo calls NetrDatabaseRedo (opnum 17) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrDatabaseSync

func NetrDatabaseSync(rpc ndr.Invoker, primaryName ndr.WSTR, computerName ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR, returnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, databaseID ndr.DWORD, syncContext ndr.DWORD, preferredMaximumLength ndr.DWORD) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, SyncContext ndr.DWORD, DeltaArray *msnrpc.NETLOGON_DELTA_ENUM_ARRAY, err error)

NetrDatabaseSync calls NetrDatabaseSync (opnum 8) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrDatabaseSync2

func NetrDatabaseSync2(rpc ndr.Invoker, primaryName ndr.WSTR, computerName ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR, returnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, databaseID ndr.DWORD, restartState msnrpc.SYNC_STATE, syncContext ndr.DWORD, preferredMaximumLength ndr.DWORD) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, SyncContext ndr.DWORD, DeltaArray *msnrpc.NETLOGON_DELTA_ENUM_ARRAY, err error)

NetrDatabaseSync2 calls NetrDatabaseSync2 (opnum 16) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrEnumerateTrustedDomains

func NetrEnumerateTrustedDomains(rpc ndr.Invoker, serverName *ndr.WSTR) (DomainNameBuffer msnrpc.DOMAIN_NAME_BUFFER, err error)

NetrEnumerateTrustedDomains calls NetrEnumerateTrustedDomains (opnum 19) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrEnumerateTrustedDomainsEx

func NetrEnumerateTrustedDomainsEx(rpc ndr.Invoker, serverName *ndr.WSTR) (Domains msnrpc.NETLOGON_TRUSTED_DOMAIN_ARRAY, err error)

NetrEnumerateTrustedDomainsEx calls NetrEnumerateTrustedDomainsEx (opnum 36) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrGetAnyDCName

func NetrGetAnyDCName(rpc ndr.Invoker, serverName *ndr.WSTR, domainName *ndr.WSTR) (Buffer ndr.WSTR, err error)

NetrGetAnyDCName calls NetrGetAnyDCName (opnum 13) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrGetDCName

func NetrGetDCName(rpc ndr.Invoker, serverName ndr.WSTR, domainName *ndr.WSTR) (Buffer ndr.WSTR, err error)

NetrGetDCName calls NetrGetDCName (opnum 11) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrGetForestTrustInformation

func NetrGetForestTrustInformation(rpc ndr.Invoker, serverName *ndr.WSTR, computerName ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR, flags ndr.DWORD) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, ForestTrustInfo *msnrpc.LSA_FOREST_TRUST_INFORMATION, err error)

NetrGetForestTrustInformation calls NetrGetForestTrustInformation (opnum 44) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonComputeClientDigest

func NetrLogonComputeClientDigest(rpc ndr.Invoker, serverName *ndr.WSTR, domainName *ndr.WSTR, message []uint8, messageSize ndr.DWORD) (NewMessageDigest [16]int8, OldMessageDigest [16]int8, err error)

NetrLogonComputeClientDigest calls NetrLogonComputeClientDigest (opnum 25) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonComputeServerDigest

func NetrLogonComputeServerDigest(rpc ndr.Invoker, serverName *ndr.WSTR, rid ndr.DWORD, message []uint8, messageSize ndr.DWORD) (NewMessageDigest [16]int8, OldMessageDigest [16]int8, err error)

NetrLogonComputeServerDigest calls NetrLogonComputeServerDigest (opnum 24) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonControl

func NetrLogonControl(rpc ndr.Invoker, serverName *ndr.WSTR, functionCode ndr.DWORD, queryLevel ndr.DWORD) (Buffer msnrpc.NETLOGON_CONTROL_QUERY_INFORMATION, err error)

NetrLogonControl calls NetrLogonControl (opnum 12) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonControl2

func NetrLogonControl2(rpc ndr.Invoker, serverName *ndr.WSTR, functionCode ndr.DWORD, queryLevel ndr.DWORD, data msnrpc.NETLOGON_CONTROL_DATA_INFORMATION) (Buffer msnrpc.NETLOGON_CONTROL_QUERY_INFORMATION, err error)

NetrLogonControl2 calls NetrLogonControl2 (opnum 14) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonControl2Ex

func NetrLogonControl2Ex(rpc ndr.Invoker, serverName *ndr.WSTR, functionCode ndr.DWORD, queryLevel ndr.DWORD, data msnrpc.NETLOGON_CONTROL_DATA_INFORMATION) (Buffer msnrpc.NETLOGON_CONTROL_QUERY_INFORMATION, err error)

NetrLogonControl2Ex calls NetrLogonControl2Ex (opnum 18) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonGetCapabilities

func NetrLogonGetCapabilities(rpc ndr.Invoker, serverName ndr.WSTR, computerName *ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR, returnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, queryLevel ndr.DWORD) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, Capabilities msnrpc.NETLOGON_CAPABILITIES, err error)

NetrLogonGetCapabilities calls NetrLogonGetCapabilities (opnum 21) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonGetDomainInfo

func NetrLogonGetDomainInfo(rpc ndr.Invoker, serverName ndr.WSTR, computerName *ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR, returnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, level ndr.DWORD, wkstaBuffer msnrpc.NETLOGON_WORKSTATION_INFORMATION) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, DomBuffer msnrpc.NETLOGON_DOMAIN_INFORMATION, err error)

NetrLogonGetDomainInfo calls NetrLogonGetDomainInfo (opnum 29) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonGetTimeServiceParentDomain

func NetrLogonGetTimeServiceParentDomain(rpc ndr.Invoker, serverName *ndr.WSTR) (DomainName ndr.WSTR, PdcSameSite int32, err error)

NetrLogonGetTimeServiceParentDomain calls NetrLogonGetTimeServiceParentDomain (opnum 35) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonGetTrustRid

func NetrLogonGetTrustRid(rpc ndr.Invoker, serverName *ndr.WSTR, domainName *ndr.WSTR) (Rid ndr.DWORD, err error)

NetrLogonGetTrustRid calls NetrLogonGetTrustRid (opnum 23) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonSamLogoff

func NetrLogonSamLogoff(rpc ndr.Invoker, logonServer *ndr.WSTR, computerName *ndr.WSTR, authenticator *msnrpc.NETLOGON_AUTHENTICATOR, returnAuthenticator *msnrpc.NETLOGON_AUTHENTICATOR, logonLevel msnrpc.NETLOGON_LOGON_INFO_CLASS, logonInformation msnrpc.NETLOGON_LEVEL) (ReturnAuthenticator *msnrpc.NETLOGON_AUTHENTICATOR, err error)

NetrLogonSamLogoff calls NetrLogonSamLogoff (opnum 3) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonSamLogon

func NetrLogonSamLogon(rpc ndr.Invoker, logonServer *ndr.WSTR, computerName *ndr.WSTR, authenticator *msnrpc.NETLOGON_AUTHENTICATOR, returnAuthenticator *msnrpc.NETLOGON_AUTHENTICATOR, logonLevel msnrpc.NETLOGON_LOGON_INFO_CLASS, logonInformation msnrpc.NETLOGON_LEVEL, validationLevel msnrpc.NETLOGON_VALIDATION_INFO_CLASS) (ReturnAuthenticator *msnrpc.NETLOGON_AUTHENTICATOR, ValidationInformation msnrpc.NETLOGON_VALIDATION, Authoritative uint8, err error)

NetrLogonSamLogon calls NetrLogonSamLogon (opnum 2) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonSamLogonEx

func NetrLogonSamLogonEx(rpc ndr.Invoker, logonServer *ndr.WSTR, computerName *ndr.WSTR, logonLevel msnrpc.NETLOGON_LOGON_INFO_CLASS, logonInformation msnrpc.NETLOGON_LEVEL, validationLevel msnrpc.NETLOGON_VALIDATION_INFO_CLASS, extraFlags ndr.DWORD) (ValidationInformation msnrpc.NETLOGON_VALIDATION, Authoritative uint8, ExtraFlags ndr.DWORD, err error)

NetrLogonSamLogonEx calls NetrLogonSamLogonEx (opnum 39) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonSamLogonWithFlags

func NetrLogonSamLogonWithFlags(rpc ndr.Invoker, logonServer *ndr.WSTR, computerName *ndr.WSTR, authenticator *msnrpc.NETLOGON_AUTHENTICATOR, returnAuthenticator *msnrpc.NETLOGON_AUTHENTICATOR, logonLevel msnrpc.NETLOGON_LOGON_INFO_CLASS, logonInformation msnrpc.NETLOGON_LEVEL, validationLevel msnrpc.NETLOGON_VALIDATION_INFO_CLASS, extraFlags ndr.DWORD) (ReturnAuthenticator *msnrpc.NETLOGON_AUTHENTICATOR, ValidationInformation msnrpc.NETLOGON_VALIDATION, Authoritative uint8, ExtraFlags ndr.DWORD, err error)

NetrLogonSamLogonWithFlags calls NetrLogonSamLogonWithFlags (opnum 45) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonSendToSam

func NetrLogonSendToSam(rpc ndr.Invoker, primaryName *ndr.WSTR, computerName ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR, opaqueBuffer []uint8, opaqueBufferSize ndr.DWORD) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, err error)

NetrLogonSendToSam calls NetrLogonSendToSam (opnum 32) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonSetServiceBits

func NetrLogonSetServiceBits(rpc ndr.Invoker, serverName *ndr.WSTR, serviceBitsOfInterest ndr.DWORD, serviceBits ndr.DWORD) (err error)

NetrLogonSetServiceBits calls NetrLogonSetServiceBits (opnum 22) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonUasLogoff

func NetrLogonUasLogoff(rpc ndr.Invoker, serverName *ndr.WSTR, userName ndr.WSTR, workstation ndr.WSTR) (LogoffInformation msnrpc.NETLOGON_LOGOFF_UAS_INFO, err error)

NetrLogonUasLogoff calls NetrLogonUasLogoff (opnum 1) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrLogonUasLogon

func NetrLogonUasLogon(rpc ndr.Invoker, serverName *ndr.WSTR, userName ndr.WSTR, workstation ndr.WSTR) (ValidationInformation *msnrpc.NETLOGON_VALIDATION_UAS_INFO, err error)

NetrLogonUasLogon calls NetrLogonUasLogon (opnum 0) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrServerAuthenticate

func NetrServerAuthenticate(rpc ndr.Invoker, primaryName *ndr.WSTR, accountName ndr.WSTR, secureChannelType msnrpc.NETLOGON_SECURE_CHANNEL_TYPE, computerName ndr.WSTR, clientCredential msnrpc.NETLOGON_CREDENTIAL) (ServerCredential msnrpc.NETLOGON_CREDENTIAL, err error)

NetrServerAuthenticate calls NetrServerAuthenticate (opnum 5) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrServerAuthenticate2

func NetrServerAuthenticate2(rpc ndr.Invoker, primaryName, accountName string, secureChannelType msnrpc.NETLOGON_SECURE_CHANNEL_TYPE, computerName string, clientCredential msnrpc.NETLOGON_CREDENTIAL, negotiateFlags uint32) (msnrpc.NETLOGON_CREDENTIAL, uint32, uint32, error)

NetrServerAuthenticate2 calls NetrServerAuthenticate2 ([MS-NRPC] 3.5.4.4.2, opnum 15). It returns the server-computed credential, the negotiated flags, and the raw NTSTATUS, so the caller can distinguish STATUS_ACCESS_DENIED from STATUS_SUCCESS without treating the former as a transport error.

Parameters:

  • rpc: A DCE/RPC client bound to the Netlogon interface.
  • primaryName: The DC name (empty sends a NULL unique pointer).
  • accountName: The account being authenticated (e.g. “DC$”).
  • secureChannelType: The secure channel kind.
  • computerName: The NetBIOS name of the client computer.
  • clientCredential: The client credential to present.
  • negotiateFlags: The requested negotiate flags.

Returns:

  • The server credential, the negotiated flags, the NTSTATUS, and a transport error.

func NetrServerAuthenticate3

func NetrServerAuthenticate3(rpc ndr.Invoker, primaryName *ndr.WSTR, accountName ndr.WSTR, secureChannelType msnrpc.NETLOGON_SECURE_CHANNEL_TYPE, computerName ndr.WSTR, clientCredential msnrpc.NETLOGON_CREDENTIAL, negotiateFlags ndr.DWORD) (ServerCredential msnrpc.NETLOGON_CREDENTIAL, NegotiateFlags ndr.DWORD, AccountRid ndr.DWORD, err error)

NetrServerAuthenticate3 calls NetrServerAuthenticate3 (opnum 26) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrServerAuthenticateKerberos

func NetrServerAuthenticateKerberos(rpc ndr.Invoker, primaryName *ndr.WSTR, accountName ndr.WSTR, accountType msnrpc.NETLOGON_SECURE_CHANNEL_TYPE, computerName ndr.WSTR, negotiateFlags ndr.DWORD) (NegotiateFlags ndr.DWORD, AccountRid ndr.DWORD, err error)

NetrServerAuthenticateKerberos calls NetrServerAuthenticateKerberos (opnum 59) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrServerGetTrustInfo

func NetrServerGetTrustInfo(rpc ndr.Invoker, trustedDcName *ndr.WSTR, accountName ndr.WSTR, secureChannelType msnrpc.NETLOGON_SECURE_CHANNEL_TYPE, computerName ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, EncryptedNewOwfPassword msnrpc.NT_OWF_PASSWORD, EncryptedOldOwfPassword msnrpc.NT_OWF_PASSWORD, TrustInfo *msnrpc.NL_GENERIC_RPC_DATA, err error)

NetrServerGetTrustInfo calls NetrServerGetTrustInfo (opnum 46) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrServerPasswordGet

func NetrServerPasswordGet(rpc ndr.Invoker, primaryName *ndr.WSTR, accountName ndr.WSTR, accountType msnrpc.NETLOGON_SECURE_CHANNEL_TYPE, computerName ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, EncryptedNtOwfPassword msnrpc.NT_OWF_PASSWORD, err error)

NetrServerPasswordGet calls NetrServerPasswordGet (opnum 31) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrServerPasswordSet

func NetrServerPasswordSet(rpc ndr.Invoker, primaryName *ndr.WSTR, accountName ndr.WSTR, secureChannelType msnrpc.NETLOGON_SECURE_CHANNEL_TYPE, computerName ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR, uasNewPassword msnrpc.NT_OWF_PASSWORD) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, err error)

NetrServerPasswordSet calls NetrServerPasswordSet (opnum 6) ([MS-NRPC] — verify the parameter modeling and status handling).

func NetrServerPasswordSet2

func NetrServerPasswordSet2(rpc ndr.Invoker, primaryName, accountName string, secureChannelType msnrpc.NETLOGON_SECURE_CHANNEL_TYPE, computerName string, authenticator msnrpc.NETLOGON_AUTHENTICATOR, clearNewPassword msnrpc.NL_TRUST_PASSWORD) (msnrpc.NETLOGON_AUTHENTICATOR, uint32, error)

NetrServerPasswordSet2 calls NetrServerPasswordSet2 ([MS-NRPC] 3.5.4.4.5, opnum 30) to set the account password. Passing an all-zero ClearNewPassword blanks the target account’s password.

Parameters:

  • rpc: A DCE/RPC client bound to the Netlogon interface.
  • primaryName: The DC name (empty sends a NULL unique pointer).
  • accountName: The account whose password is being set (e.g. “DC$”).
  • secureChannelType: The secure channel kind.
  • computerName: The NetBIOS name of the client computer.
  • authenticator: The request authenticator.
  • clearNewPassword: The new password structure.

Returns:

  • The return authenticator, the NTSTATUS, and a transport error.

func NetrServerReqChallenge

func NetrServerReqChallenge(rpc ndr.Invoker, primaryName, computerName string, clientChallenge msnrpc.NETLOGON_CREDENTIAL) (msnrpc.NETLOGON_CREDENTIAL, uint32, error)

NetrServerReqChallenge calls NetrServerReqChallenge ([MS-NRPC] 3.5.4.4.1, opnum 4): the client sends a challenge and receives the server’s challenge, the first step of secure channel negotiation.

Parameters:

  • rpc: A DCE/RPC client bound to the Netlogon interface.
  • primaryName: The DC name (empty string sends a NULL unique pointer).
  • computerName: The NetBIOS name of the client computer.
  • clientChallenge: The client challenge.

Returns:

  • The server challenge, the NTSTATUS return value, and a transport error.

func NetrServerTrustPasswordsGet

func NetrServerTrustPasswordsGet(rpc ndr.Invoker, trustedDcName *ndr.WSTR, accountName ndr.WSTR, secureChannelType msnrpc.NETLOGON_SECURE_CHANNEL_TYPE, computerName ndr.WSTR, authenticator msnrpc.NETLOGON_AUTHENTICATOR) (ReturnAuthenticator msnrpc.NETLOGON_AUTHENTICATOR, EncryptedNewOwfPassword msnrpc.NT_OWF_PASSWORD, EncryptedOldOwfPassword msnrpc.NT_OWF_PASSWORD, err error)

NetrServerTrustPasswordsGet calls NetrServerTrustPasswordsGet (opnum 42) ([MS-NRPC] — verify the parameter modeling and status handling).

func OpnumUnused47

func OpnumUnused47(rpc ndr.Invoker) (err error)

OpnumUnused47 calls OpnumUnused47 (opnum 47) ([MS-NRPC] — verify the parameter modeling and status handling).