mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r18666: checking in generated netlogon files
This commit is contained in:
parent
157b2c0c26
commit
ac5561103c
@ -851,7 +851,7 @@ cac: SHOWFLAGS $(LIBMSRPC)
|
||||
#####################################################################
|
||||
## Perl IDL Compiler
|
||||
IDL_FILES = unixinfo.idl lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
|
||||
eventlog.idl
|
||||
eventlog.idl wkssvc.idl netlogon.idl
|
||||
|
||||
idl:
|
||||
@IDL_FILES="$(IDL_FILES)" CPP="$(CPP)" PERL="$(PERL)" \
|
||||
|
1014
source/librpc/gen_ndr/cli_netlogon.c
Normal file
1014
source/librpc/gen_ndr/cli_netlogon.c
Normal file
File diff suppressed because it is too large
Load Diff
51
source/librpc/gen_ndr/cli_netlogon.h
Normal file
51
source/librpc/gen_ndr/cli_netlogon.h
Normal file
@ -0,0 +1,51 @@
|
||||
#include "librpc/gen_ndr/ndr_netlogon.h"
|
||||
#ifndef __CLI_NETLOGON__
|
||||
#define __CLI_NETLOGON__
|
||||
NTSTATUS rpccli_netr_LogonUasLogon(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_name, const char *account_name, const char *workstation, struct netr_UasInfo *info);
|
||||
NTSTATUS rpccli_netr_LogonUasLogoff(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_name, const char *account_name, const char *workstation, struct netr_UasLogoffInfo *info);
|
||||
NTSTATUS rpccli_netr_LogonSamLogon(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_name, const char *computer_name, struct netr_Authenticator *credential, struct netr_Authenticator *return_authenticator, uint16_t logon_level, union netr_LogonLevel logon, uint16_t validation_level, union netr_Validation *validation, uint8_t *authoritative);
|
||||
NTSTATUS rpccli_netr_LogonSamLogoff(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_name, const char *computer_name, struct netr_Authenticator *credential, struct netr_Authenticator *return_authenticator, uint16_t logon_level, union netr_LogonLevel logon);
|
||||
NTSTATUS rpccli_netr_ServerReqChallenge(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_name, const char *computer_name, struct netr_Credential *credentials);
|
||||
NTSTATUS rpccli_netr_ServerAuthenticate(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_name, const char *account_name, enum netr_SchannelType secure_channel_type, const char *computer_name, struct netr_Credential *credentials);
|
||||
NTSTATUS rpccli_netr_ServerPasswordSet(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_name, const char *account_name, enum netr_SchannelType secure_channel_type, const char *computer_name, struct netr_Authenticator credential, struct samr_Password new_password, struct netr_Authenticator *return_authenticator);
|
||||
NTSTATUS rpccli_netr_DatabaseDeltas(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *logon_server, const char *computername, struct netr_Authenticator credential, struct netr_Authenticator *return_authenticator, enum netr_SamDatabaseID database_id, uint64_t *sequence_num, uint32_t preferredmaximumlength, struct netr_DELTA_ENUM_ARRAY *delta_enum_array);
|
||||
NTSTATUS rpccli_netr_DatabaseSync(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *logon_server, const char *computername, struct netr_Authenticator credential, struct netr_Authenticator *return_authenticator, enum netr_SamDatabaseID database_id, uint32_t *sync_context, uint32_t preferredmaximumlength, struct netr_DELTA_ENUM_ARRAY *delta_enum_array);
|
||||
NTSTATUS rpccli_netr_AccountDeltas(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *logon_server, const char *computername, struct netr_Authenticator credential, struct netr_Authenticator *return_authenticator, struct netr_UAS_INFO_0 uas, uint32_t count, uint32_t level, uint32_t buffersize, struct netr_AccountBuffer *buffer, uint32_t *count_returned, uint32_t *total_entries, struct netr_UAS_INFO_0 *recordid);
|
||||
NTSTATUS rpccli_netr_AccountSync(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *logon_server, const char *computername, struct netr_Authenticator credential, struct netr_Authenticator *return_authenticator, uint32_t reference, uint32_t level, uint32_t buffersize, struct netr_AccountBuffer *buffer, uint32_t *count_returned, uint32_t *total_entries, uint32_t *next_reference, struct netr_UAS_INFO_0 *recordid);
|
||||
NTSTATUS rpccli_netr_GetDcName(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *logon_server, const char *domainname, const char **dcname);
|
||||
NTSTATUS rpccli_netr_LogonControl(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *logon_server, enum netr_LogonControlCode function_code, uint32_t level, union netr_CONTROL_QUERY_INFORMATION *info);
|
||||
NTSTATUS rpccli_netr_GetAnyDCName(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *logon_server, const char *domainname, const char **dcname);
|
||||
NTSTATUS rpccli_netr_LogonControl2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *logon_server, uint32_t function_code, uint32_t level, union netr_CONTROL_DATA_INFORMATION data, union netr_CONTROL_QUERY_INFORMATION *query);
|
||||
NTSTATUS rpccli_netr_ServerAuthenticate2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_name, const char *account_name, enum netr_SchannelType secure_channel_type, const char *computer_name, struct netr_Credential *credentials, uint32_t *negotiate_flags);
|
||||
NTSTATUS rpccli_netr_DatabaseSync2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *logon_server, const char *computername, struct netr_Authenticator credential, struct netr_Authenticator *return_authenticator, enum netr_SamDatabaseID database_id, uint16_t restart_state, uint32_t *sync_context, uint32_t preferredmaximumlength, struct netr_DELTA_ENUM_ARRAY *delta_enum_array);
|
||||
NTSTATUS rpccli_netr_DatabaseRedo(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *logon_server, const char *computername, struct netr_Authenticator credential, struct netr_Authenticator *return_authenticator, uint8_t *change_log_entry, uint32_t change_log_entry_size, struct netr_DELTA_ENUM_ARRAY *delta_enum_array);
|
||||
NTSTATUS rpccli_netr_LogonControl2Ex(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *logon_server, uint32_t function_code, uint32_t level, union netr_CONTROL_DATA_INFORMATION data, union netr_CONTROL_QUERY_INFORMATION *query);
|
||||
NTSTATUS rpccli_netr_NETRENUMERATETRUSTEDDOMAINS(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_DsRGetDCName(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_unc, const char *domain_name, struct GUID *domain_guid, struct GUID *site_guid, uint32_t flags, struct netr_DsRGetDCNameInfo *info);
|
||||
NTSTATUS rpccli_netr_NETRLOGONDUMMYROUTINE1(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_NETRLOGONSETSERVICEBITS(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_NETRLOGONGETTRUSTRID(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_NETRLOGONCOMPUTESERVERDIGEST(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_NETRLOGONCOMPUTECLIENTDIGEST(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_ServerAuthenticate3(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_name, const char *account_name, enum netr_SchannelType secure_channel_type, const char *computer_name, struct netr_Credential *credentials, uint32_t *negotiate_flags, uint32_t *rid);
|
||||
NTSTATUS rpccli_netr_DsRGetDCNameEx(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_unc, const char *domain_name, struct GUID *domain_guid, const char *site_name, uint32_t flags, struct netr_DsRGetDCNameInfo *info);
|
||||
NTSTATUS rpccli_netr_DsRGetSiteName(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *computer_name, const char **site);
|
||||
NTSTATUS rpccli_netr_LogonGetDomainInfo(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_name, const char *computer_name, struct netr_Authenticator *credential, struct netr_Authenticator *return_authenticator, uint32_t level, union netr_DomainQuery query, union netr_DomainInfo *info);
|
||||
NTSTATUS rpccli_netr_ServerPasswordSet2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_name, const char *account_name, enum netr_SchannelType secure_channel_type, const char *computer_name, struct netr_Authenticator credential, struct netr_CryptPassword new_password, struct netr_Authenticator *return_authenticator);
|
||||
NTSTATUS rpccli_netr_NETRSERVERPASSWORDGET(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_NETRLOGONSENDTOSAM(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_DSRADDRESSTOSITENAMESW(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_DsRGetDCNameEx2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_unc, const char *client_account, uint32_t mask, const char *domain_name, struct GUID *domain_guid, const char *site_name, uint32_t flags, struct netr_DsRGetDCNameInfo *info);
|
||||
NTSTATUS rpccli_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_NETRENUMERATETRUSTEDDOMAINSEX(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_DSRADDRESSTOSITENAMESEXW(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_DSRGETDCSITECOVERAGEW(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_LogonSamLogonEx(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_name, const char *computer_name, uint16_t logon_level, union netr_LogonLevel logon, uint16_t validation_level, union netr_Validation *validation, uint8_t *authoritative, uint32_t *flags);
|
||||
NTSTATUS rpccli_netr_DsrEnumerateDomainTrusts(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_name, uint32_t trust_flags, uint32_t *count, struct netr_DomainTrust **trusts);
|
||||
NTSTATUS rpccli_netr_DSRDEREGISTERDNSHOSTRECORDS(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_NETRSERVERTRUSTPASSWORDSGET(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_DSRGETFORESTTRUSTINFORMATION(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_NETRGETFORESTTRUSTINFORMATION(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS rpccli_netr_LogonSamLogonWithFlags(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *server_name, const char *computer_name, struct netr_Authenticator *credential, struct netr_Authenticator *return_authenticator, uint16_t logon_level, union netr_LogonLevel logon, uint16_t validation_level, union netr_Validation *validation, uint8_t *authoritative, uint32_t *flags);
|
||||
NTSTATUS rpccli_netr_NETRSERVERGETTRUSTINFO(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx);
|
||||
#endif /* __CLI_NETLOGON__ */
|
13129
source/librpc/gen_ndr/ndr_netlogon.c
Normal file
13129
source/librpc/gen_ndr/ndr_netlogon.c
Normal file
File diff suppressed because it is too large
Load Diff
247
source/librpc/gen_ndr/ndr_netlogon.h
Normal file
247
source/librpc/gen_ndr/ndr_netlogon.h
Normal file
@ -0,0 +1,247 @@
|
||||
/* header auto-generated by pidl */
|
||||
|
||||
#include "librpc/gen_ndr/netlogon.h"
|
||||
|
||||
#ifndef _HEADER_NDR_netlogon
|
||||
#define _HEADER_NDR_netlogon
|
||||
|
||||
#include "librpc/ndr/libndr.h"
|
||||
#define DCERPC_NETLOGON_UUID "12345678-1234-abcd-ef00-01234567cffb"
|
||||
#define DCERPC_NETLOGON_VERSION 1.0
|
||||
#define DCERPC_NETLOGON_NAME "netlogon"
|
||||
#define DCERPC_NETLOGON_HELPSTRING NULL
|
||||
extern const struct dcerpc_interface_table dcerpc_table_netlogon;
|
||||
NTSTATUS dcerpc_server_netlogon_init(void);
|
||||
#define DCERPC_NETR_LOGONUASLOGON (0x00)
|
||||
|
||||
#define DCERPC_NETR_LOGONUASLOGOFF (0x01)
|
||||
|
||||
#define DCERPC_NETR_LOGONSAMLOGON (0x02)
|
||||
|
||||
#define DCERPC_NETR_LOGONSAMLOGOFF (0x03)
|
||||
|
||||
#define DCERPC_NETR_SERVERREQCHALLENGE (0x04)
|
||||
|
||||
#define DCERPC_NETR_SERVERAUTHENTICATE (0x05)
|
||||
|
||||
#define DCERPC_NETR_SERVERPASSWORDSET (0x06)
|
||||
|
||||
#define DCERPC_NETR_DATABASEDELTAS (0x07)
|
||||
|
||||
#define DCERPC_NETR_DATABASESYNC (0x08)
|
||||
|
||||
#define DCERPC_NETR_ACCOUNTDELTAS (0x09)
|
||||
|
||||
#define DCERPC_NETR_ACCOUNTSYNC (0x0a)
|
||||
|
||||
#define DCERPC_NETR_GETDCNAME (0x0b)
|
||||
|
||||
#define DCERPC_NETR_LOGONCONTROL (0x0c)
|
||||
|
||||
#define DCERPC_NETR_GETANYDCNAME (0x0d)
|
||||
|
||||
#define DCERPC_NETR_LOGONCONTROL2 (0x0e)
|
||||
|
||||
#define DCERPC_NETR_SERVERAUTHENTICATE2 (0x0f)
|
||||
|
||||
#define DCERPC_NETR_DATABASESYNC2 (0x10)
|
||||
|
||||
#define DCERPC_NETR_DATABASEREDO (0x11)
|
||||
|
||||
#define DCERPC_NETR_LOGONCONTROL2EX (0x12)
|
||||
|
||||
#define DCERPC_NETR_NETRENUMERATETRUSTEDDOMAINS (0x13)
|
||||
|
||||
#define DCERPC_NETR_DSRGETDCNAME (0x14)
|
||||
|
||||
#define DCERPC_NETR_NETRLOGONDUMMYROUTINE1 (0x15)
|
||||
|
||||
#define DCERPC_NETR_NETRLOGONSETSERVICEBITS (0x16)
|
||||
|
||||
#define DCERPC_NETR_NETRLOGONGETTRUSTRID (0x17)
|
||||
|
||||
#define DCERPC_NETR_NETRLOGONCOMPUTESERVERDIGEST (0x18)
|
||||
|
||||
#define DCERPC_NETR_NETRLOGONCOMPUTECLIENTDIGEST (0x19)
|
||||
|
||||
#define DCERPC_NETR_SERVERAUTHENTICATE3 (0x1a)
|
||||
|
||||
#define DCERPC_NETR_DSRGETDCNAMEEX (0x1b)
|
||||
|
||||
#define DCERPC_NETR_DSRGETSITENAME (0x1c)
|
||||
|
||||
#define DCERPC_NETR_LOGONGETDOMAININFO (0x1d)
|
||||
|
||||
#define DCERPC_NETR_SERVERPASSWORDSET2 (0x1e)
|
||||
|
||||
#define DCERPC_NETR_NETRSERVERPASSWORDGET (0x1f)
|
||||
|
||||
#define DCERPC_NETR_NETRLOGONSENDTOSAM (0x20)
|
||||
|
||||
#define DCERPC_NETR_DSRADDRESSTOSITENAMESW (0x21)
|
||||
|
||||
#define DCERPC_NETR_DSRGETDCNAMEEX2 (0x22)
|
||||
|
||||
#define DCERPC_NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN (0x23)
|
||||
|
||||
#define DCERPC_NETR_NETRENUMERATETRUSTEDDOMAINSEX (0x24)
|
||||
|
||||
#define DCERPC_NETR_DSRADDRESSTOSITENAMESEXW (0x25)
|
||||
|
||||
#define DCERPC_NETR_DSRGETDCSITECOVERAGEW (0x26)
|
||||
|
||||
#define DCERPC_NETR_LOGONSAMLOGONEX (0x27)
|
||||
|
||||
#define DCERPC_NETR_DSRENUMERATEDOMAINTRUSTS (0x28)
|
||||
|
||||
#define DCERPC_NETR_DSRDEREGISTERDNSHOSTRECORDS (0x29)
|
||||
|
||||
#define DCERPC_NETR_NETRSERVERTRUSTPASSWORDSGET (0x2a)
|
||||
|
||||
#define DCERPC_NETR_DSRGETFORESTTRUSTINFORMATION (0x2b)
|
||||
|
||||
#define DCERPC_NETR_NETRGETFORESTTRUSTINFORMATION (0x2c)
|
||||
|
||||
#define DCERPC_NETR_LOGONSAMLOGONWITHFLAGS (0x2d)
|
||||
|
||||
#define DCERPC_NETR_NETRSERVERGETTRUSTINFO (0x2e)
|
||||
|
||||
#define DCERPC_NETLOGON_CALL_COUNT (47)
|
||||
void ndr_print_netr_UasInfo(struct ndr_print *ndr, const char *name, const struct netr_UasInfo *r);
|
||||
void ndr_print_netr_UasLogoffInfo(struct ndr_print *ndr, const char *name, const struct netr_UasLogoffInfo *r);
|
||||
void ndr_print_netr_AcctLockStr(struct ndr_print *ndr, const char *name, const struct netr_AcctLockStr *r);
|
||||
void ndr_print_netr_IdentityInfo(struct ndr_print *ndr, const char *name, const struct netr_IdentityInfo *r);
|
||||
void ndr_print_netr_PasswordInfo(struct ndr_print *ndr, const char *name, const struct netr_PasswordInfo *r);
|
||||
void ndr_print_netr_ChallengeResponse(struct ndr_print *ndr, const char *name, const struct netr_ChallengeResponse *r);
|
||||
void ndr_print_netr_NetworkInfo(struct ndr_print *ndr, const char *name, const struct netr_NetworkInfo *r);
|
||||
NTSTATUS ndr_push_netr_LogonLevel(struct ndr_push *ndr, int ndr_flags, const union netr_LogonLevel *r);
|
||||
NTSTATUS ndr_pull_netr_LogonLevel(struct ndr_pull *ndr, int ndr_flags, union netr_LogonLevel *r);
|
||||
void ndr_print_netr_LogonLevel(struct ndr_print *ndr, const char *name, const union netr_LogonLevel *r);
|
||||
NTSTATUS ndr_push_netr_GroupMembership(struct ndr_push *ndr, int ndr_flags, const struct netr_GroupMembership *r);
|
||||
NTSTATUS ndr_pull_netr_GroupMembership(struct ndr_pull *ndr, int ndr_flags, struct netr_GroupMembership *r);
|
||||
void ndr_print_netr_GroupMembership(struct ndr_print *ndr, const char *name, const struct netr_GroupMembership *r);
|
||||
NTSTATUS ndr_push_netr_UserSessionKey(struct ndr_push *ndr, int ndr_flags, const struct netr_UserSessionKey *r);
|
||||
NTSTATUS ndr_pull_netr_UserSessionKey(struct ndr_pull *ndr, int ndr_flags, struct netr_UserSessionKey *r);
|
||||
void ndr_print_netr_UserSessionKey(struct ndr_print *ndr, const char *name, const struct netr_UserSessionKey *r);
|
||||
NTSTATUS ndr_push_netr_LMSessionKey(struct ndr_push *ndr, int ndr_flags, const struct netr_LMSessionKey *r);
|
||||
NTSTATUS ndr_pull_netr_LMSessionKey(struct ndr_pull *ndr, int ndr_flags, struct netr_LMSessionKey *r);
|
||||
void ndr_print_netr_LMSessionKey(struct ndr_print *ndr, const char *name, const struct netr_LMSessionKey *r);
|
||||
NTSTATUS ndr_push_netr_UserFlags(struct ndr_push *ndr, int ndr_flags, uint32_t r);
|
||||
NTSTATUS ndr_pull_netr_UserFlags(struct ndr_pull *ndr, int ndr_flags, uint32_t *r);
|
||||
void ndr_print_netr_UserFlags(struct ndr_print *ndr, const char *name, uint32_t r);
|
||||
void ndr_print_netr_SamBaseInfo(struct ndr_print *ndr, const char *name, const struct netr_SamBaseInfo *r);
|
||||
void ndr_print_netr_SamInfo2(struct ndr_print *ndr, const char *name, const struct netr_SamInfo2 *r);
|
||||
void ndr_print_netr_SidAttr(struct ndr_print *ndr, const char *name, const struct netr_SidAttr *r);
|
||||
NTSTATUS ndr_push_netr_SamInfo3(struct ndr_push *ndr, int ndr_flags, const struct netr_SamInfo3 *r);
|
||||
NTSTATUS ndr_pull_netr_SamInfo3(struct ndr_pull *ndr, int ndr_flags, struct netr_SamInfo3 *r);
|
||||
void ndr_print_netr_SamInfo3(struct ndr_print *ndr, const char *name, const struct netr_SamInfo3 *r);
|
||||
void ndr_print_netr_SamInfo6(struct ndr_print *ndr, const char *name, const struct netr_SamInfo6 *r);
|
||||
void ndr_print_netr_PacInfo(struct ndr_print *ndr, const char *name, const struct netr_PacInfo *r);
|
||||
NTSTATUS ndr_push_netr_Validation(struct ndr_push *ndr, int ndr_flags, const union netr_Validation *r);
|
||||
NTSTATUS ndr_pull_netr_Validation(struct ndr_pull *ndr, int ndr_flags, union netr_Validation *r);
|
||||
void ndr_print_netr_Validation(struct ndr_print *ndr, const char *name, const union netr_Validation *r);
|
||||
NTSTATUS ndr_push_netr_Credential(struct ndr_push *ndr, int ndr_flags, const struct netr_Credential *r);
|
||||
NTSTATUS ndr_pull_netr_Credential(struct ndr_pull *ndr, int ndr_flags, struct netr_Credential *r);
|
||||
void ndr_print_netr_Credential(struct ndr_print *ndr, const char *name, const struct netr_Credential *r);
|
||||
NTSTATUS ndr_push_netr_Authenticator(struct ndr_push *ndr, int ndr_flags, const struct netr_Authenticator *r);
|
||||
NTSTATUS ndr_pull_netr_Authenticator(struct ndr_pull *ndr, int ndr_flags, struct netr_Authenticator *r);
|
||||
void ndr_print_netr_Authenticator(struct ndr_print *ndr, const char *name, const struct netr_Authenticator *r);
|
||||
void ndr_print_netr_DELTA_DELETE_USER(struct ndr_print *ndr, const char *name, const struct netr_DELTA_DELETE_USER *r);
|
||||
void ndr_print_netr_USER_KEY16(struct ndr_print *ndr, const char *name, const struct netr_USER_KEY16 *r);
|
||||
void ndr_print_netr_PasswordHistory(struct ndr_print *ndr, const char *name, const struct netr_PasswordHistory *r);
|
||||
void ndr_print_netr_USER_KEYS2(struct ndr_print *ndr, const char *name, const struct netr_USER_KEYS2 *r);
|
||||
void ndr_print_netr_USER_KEY_UNION(struct ndr_print *ndr, const char *name, const struct netr_USER_KEY_UNION *r);
|
||||
NTSTATUS ndr_push_netr_USER_KEYS(struct ndr_push *ndr, int ndr_flags, const struct netr_USER_KEYS *r);
|
||||
NTSTATUS ndr_pull_netr_USER_KEYS(struct ndr_pull *ndr, int ndr_flags, struct netr_USER_KEYS *r);
|
||||
void ndr_print_netr_USER_KEYS(struct ndr_print *ndr, const char *name, const struct netr_USER_KEYS *r);
|
||||
void ndr_print_netr_USER_PRIVATE_INFO(struct ndr_print *ndr, const char *name, const struct netr_USER_PRIVATE_INFO *r);
|
||||
void ndr_print_netr_DELTA_USER(struct ndr_print *ndr, const char *name, const struct netr_DELTA_USER *r);
|
||||
void ndr_print_netr_DELTA_DOMAIN(struct ndr_print *ndr, const char *name, const struct netr_DELTA_DOMAIN *r);
|
||||
void ndr_print_netr_DELTA_GROUP(struct ndr_print *ndr, const char *name, const struct netr_DELTA_GROUP *r);
|
||||
void ndr_print_netr_DELTA_RENAME(struct ndr_print *ndr, const char *name, const struct netr_DELTA_RENAME *r);
|
||||
void ndr_print_netr_DELTA_GROUP_MEMBER(struct ndr_print *ndr, const char *name, const struct netr_DELTA_GROUP_MEMBER *r);
|
||||
void ndr_print_netr_DELTA_ALIAS(struct ndr_print *ndr, const char *name, const struct netr_DELTA_ALIAS *r);
|
||||
void ndr_print_netr_DELTA_ALIAS_MEMBER(struct ndr_print *ndr, const char *name, const struct netr_DELTA_ALIAS_MEMBER *r);
|
||||
void ndr_print_netr_QUOTA_LIMITS(struct ndr_print *ndr, const char *name, const struct netr_QUOTA_LIMITS *r);
|
||||
void ndr_print_netr_DELTA_POLICY(struct ndr_print *ndr, const char *name, const struct netr_DELTA_POLICY *r);
|
||||
void ndr_print_netr_DELTA_TRUSTED_DOMAIN(struct ndr_print *ndr, const char *name, const struct netr_DELTA_TRUSTED_DOMAIN *r);
|
||||
void ndr_print_netr_DELTA_DELETE_TRUST(struct ndr_print *ndr, const char *name, const struct netr_DELTA_DELETE_TRUST *r);
|
||||
void ndr_print_netr_DELTA_ACCOUNT(struct ndr_print *ndr, const char *name, const struct netr_DELTA_ACCOUNT *r);
|
||||
void ndr_print_netr_DELTA_DELETE_ACCOUNT(struct ndr_print *ndr, const char *name, const struct netr_DELTA_DELETE_ACCOUNT *r);
|
||||
void ndr_print_netr_DELTA_DELETE_SECRET(struct ndr_print *ndr, const char *name, const struct netr_DELTA_DELETE_SECRET *r);
|
||||
void ndr_print_netr_CIPHER_VALUE(struct ndr_print *ndr, const char *name, const struct netr_CIPHER_VALUE *r);
|
||||
void ndr_print_netr_DELTA_SECRET(struct ndr_print *ndr, const char *name, const struct netr_DELTA_SECRET *r);
|
||||
void ndr_print_netr_DeltaEnum(struct ndr_print *ndr, const char *name, enum netr_DeltaEnum r);
|
||||
void ndr_print_netr_DELTA_UNION(struct ndr_print *ndr, const char *name, const union netr_DELTA_UNION *r);
|
||||
void ndr_print_netr_DELTA_ID_UNION(struct ndr_print *ndr, const char *name, const union netr_DELTA_ID_UNION *r);
|
||||
void ndr_print_netr_DELTA_ENUM(struct ndr_print *ndr, const char *name, const struct netr_DELTA_ENUM *r);
|
||||
void ndr_print_netr_DELTA_ENUM_ARRAY(struct ndr_print *ndr, const char *name, const struct netr_DELTA_ENUM_ARRAY *r);
|
||||
void ndr_print_netr_UAS_INFO_0(struct ndr_print *ndr, const char *name, const struct netr_UAS_INFO_0 *r);
|
||||
void ndr_print_netr_AccountBuffer(struct ndr_print *ndr, const char *name, const struct netr_AccountBuffer *r);
|
||||
void ndr_print_netr_NETLOGON_INFO_1(struct ndr_print *ndr, const char *name, const struct netr_NETLOGON_INFO_1 *r);
|
||||
void ndr_print_netr_NETLOGON_INFO_2(struct ndr_print *ndr, const char *name, const struct netr_NETLOGON_INFO_2 *r);
|
||||
void ndr_print_netr_NETLOGON_INFO_3(struct ndr_print *ndr, const char *name, const struct netr_NETLOGON_INFO_3 *r);
|
||||
void ndr_print_netr_CONTROL_QUERY_INFORMATION(struct ndr_print *ndr, const char *name, const union netr_CONTROL_QUERY_INFORMATION *r);
|
||||
void ndr_print_netr_LogonControlCode(struct ndr_print *ndr, const char *name, enum netr_LogonControlCode r);
|
||||
void ndr_print_netr_CONTROL_DATA_INFORMATION(struct ndr_print *ndr, const char *name, const union netr_CONTROL_DATA_INFORMATION *r);
|
||||
void ndr_print_netr_DsRGetDCNameInfo(struct ndr_print *ndr, const char *name, const struct netr_DsRGetDCNameInfo *r);
|
||||
void ndr_print_netr_Blob(struct ndr_print *ndr, const char *name, const struct netr_Blob *r);
|
||||
void ndr_print_netr_BinaryString(struct ndr_print *ndr, const char *name, const struct netr_BinaryString *r);
|
||||
void ndr_print_netr_DomainQuery1(struct ndr_print *ndr, const char *name, const struct netr_DomainQuery1 *r);
|
||||
void ndr_print_netr_DomainQuery(struct ndr_print *ndr, const char *name, const union netr_DomainQuery *r);
|
||||
void ndr_print_netr_DomainTrustInfo(struct ndr_print *ndr, const char *name, const struct netr_DomainTrustInfo *r);
|
||||
void ndr_print_netr_DomainInfo1(struct ndr_print *ndr, const char *name, const struct netr_DomainInfo1 *r);
|
||||
void ndr_print_netr_DomainInfo(struct ndr_print *ndr, const char *name, const union netr_DomainInfo *r);
|
||||
void ndr_print_netr_CryptPassword(struct ndr_print *ndr, const char *name, const struct netr_CryptPassword *r);
|
||||
void ndr_print_netr_TrustFlags(struct ndr_print *ndr, const char *name, uint32_t r);
|
||||
void ndr_print_netr_TrustType(struct ndr_print *ndr, const char *name, enum netr_TrustType r);
|
||||
void ndr_print_netr_TrustAttributes(struct ndr_print *ndr, const char *name, uint32_t r);
|
||||
void ndr_print_netr_DomainTrust(struct ndr_print *ndr, const char *name, const struct netr_DomainTrust *r);
|
||||
void ndr_print_netr_LogonUasLogon(struct ndr_print *ndr, const char *name, int flags, const struct netr_LogonUasLogon *r);
|
||||
void ndr_print_netr_LogonUasLogoff(struct ndr_print *ndr, const char *name, int flags, const struct netr_LogonUasLogoff *r);
|
||||
void ndr_print_netr_LogonSamLogon(struct ndr_print *ndr, const char *name, int flags, const struct netr_LogonSamLogon *r);
|
||||
void ndr_print_netr_LogonSamLogoff(struct ndr_print *ndr, const char *name, int flags, const struct netr_LogonSamLogoff *r);
|
||||
void ndr_print_netr_ServerReqChallenge(struct ndr_print *ndr, const char *name, int flags, const struct netr_ServerReqChallenge *r);
|
||||
void ndr_print_netr_ServerAuthenticate(struct ndr_print *ndr, const char *name, int flags, const struct netr_ServerAuthenticate *r);
|
||||
void ndr_print_netr_ServerPasswordSet(struct ndr_print *ndr, const char *name, int flags, const struct netr_ServerPasswordSet *r);
|
||||
void ndr_print_netr_DatabaseDeltas(struct ndr_print *ndr, const char *name, int flags, const struct netr_DatabaseDeltas *r);
|
||||
void ndr_print_netr_DatabaseSync(struct ndr_print *ndr, const char *name, int flags, const struct netr_DatabaseSync *r);
|
||||
void ndr_print_netr_AccountDeltas(struct ndr_print *ndr, const char *name, int flags, const struct netr_AccountDeltas *r);
|
||||
void ndr_print_netr_AccountSync(struct ndr_print *ndr, const char *name, int flags, const struct netr_AccountSync *r);
|
||||
void ndr_print_netr_GetDcName(struct ndr_print *ndr, const char *name, int flags, const struct netr_GetDcName *r);
|
||||
void ndr_print_netr_LogonControl(struct ndr_print *ndr, const char *name, int flags, const struct netr_LogonControl *r);
|
||||
void ndr_print_netr_GetAnyDCName(struct ndr_print *ndr, const char *name, int flags, const struct netr_GetAnyDCName *r);
|
||||
void ndr_print_netr_LogonControl2(struct ndr_print *ndr, const char *name, int flags, const struct netr_LogonControl2 *r);
|
||||
void ndr_print_netr_ServerAuthenticate2(struct ndr_print *ndr, const char *name, int flags, const struct netr_ServerAuthenticate2 *r);
|
||||
void ndr_print_netr_DatabaseSync2(struct ndr_print *ndr, const char *name, int flags, const struct netr_DatabaseSync2 *r);
|
||||
void ndr_print_netr_DatabaseRedo(struct ndr_print *ndr, const char *name, int flags, const struct netr_DatabaseRedo *r);
|
||||
void ndr_print_netr_LogonControl2Ex(struct ndr_print *ndr, const char *name, int flags, const struct netr_LogonControl2Ex *r);
|
||||
void ndr_print_netr_NETRENUMERATETRUSTEDDOMAINS(struct ndr_print *ndr, const char *name, int flags, const struct netr_NETRENUMERATETRUSTEDDOMAINS *r);
|
||||
void ndr_print_netr_DsRGetDCName(struct ndr_print *ndr, const char *name, int flags, const struct netr_DsRGetDCName *r);
|
||||
void ndr_print_netr_NETRLOGONDUMMYROUTINE1(struct ndr_print *ndr, const char *name, int flags, const struct netr_NETRLOGONDUMMYROUTINE1 *r);
|
||||
void ndr_print_netr_NETRLOGONSETSERVICEBITS(struct ndr_print *ndr, const char *name, int flags, const struct netr_NETRLOGONSETSERVICEBITS *r);
|
||||
void ndr_print_netr_NETRLOGONGETTRUSTRID(struct ndr_print *ndr, const char *name, int flags, const struct netr_NETRLOGONGETTRUSTRID *r);
|
||||
void ndr_print_netr_NETRLOGONCOMPUTESERVERDIGEST(struct ndr_print *ndr, const char *name, int flags, const struct netr_NETRLOGONCOMPUTESERVERDIGEST *r);
|
||||
void ndr_print_netr_NETRLOGONCOMPUTECLIENTDIGEST(struct ndr_print *ndr, const char *name, int flags, const struct netr_NETRLOGONCOMPUTECLIENTDIGEST *r);
|
||||
void ndr_print_netr_ServerAuthenticate3(struct ndr_print *ndr, const char *name, int flags, const struct netr_ServerAuthenticate3 *r);
|
||||
void ndr_print_netr_DsRGetDCNameEx(struct ndr_print *ndr, const char *name, int flags, const struct netr_DsRGetDCNameEx *r);
|
||||
void ndr_print_netr_DsRGetSiteName(struct ndr_print *ndr, const char *name, int flags, const struct netr_DsRGetSiteName *r);
|
||||
void ndr_print_netr_LogonGetDomainInfo(struct ndr_print *ndr, const char *name, int flags, const struct netr_LogonGetDomainInfo *r);
|
||||
void ndr_print_netr_ServerPasswordSet2(struct ndr_print *ndr, const char *name, int flags, const struct netr_ServerPasswordSet2 *r);
|
||||
void ndr_print_netr_NETRSERVERPASSWORDGET(struct ndr_print *ndr, const char *name, int flags, const struct netr_NETRSERVERPASSWORDGET *r);
|
||||
void ndr_print_netr_NETRLOGONSENDTOSAM(struct ndr_print *ndr, const char *name, int flags, const struct netr_NETRLOGONSENDTOSAM *r);
|
||||
void ndr_print_netr_DSRADDRESSTOSITENAMESW(struct ndr_print *ndr, const char *name, int flags, const struct netr_DSRADDRESSTOSITENAMESW *r);
|
||||
void ndr_print_netr_DsRGetDCNameEx2(struct ndr_print *ndr, const char *name, int flags, const struct netr_DsRGetDCNameEx2 *r);
|
||||
void ndr_print_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN(struct ndr_print *ndr, const char *name, int flags, const struct netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN *r);
|
||||
void ndr_print_netr_NETRENUMERATETRUSTEDDOMAINSEX(struct ndr_print *ndr, const char *name, int flags, const struct netr_NETRENUMERATETRUSTEDDOMAINSEX *r);
|
||||
void ndr_print_netr_DSRADDRESSTOSITENAMESEXW(struct ndr_print *ndr, const char *name, int flags, const struct netr_DSRADDRESSTOSITENAMESEXW *r);
|
||||
void ndr_print_netr_DSRGETDCSITECOVERAGEW(struct ndr_print *ndr, const char *name, int flags, const struct netr_DSRGETDCSITECOVERAGEW *r);
|
||||
void ndr_print_netr_LogonSamLogonEx(struct ndr_print *ndr, const char *name, int flags, const struct netr_LogonSamLogonEx *r);
|
||||
void ndr_print_netr_DsrEnumerateDomainTrusts(struct ndr_print *ndr, const char *name, int flags, const struct netr_DsrEnumerateDomainTrusts *r);
|
||||
void ndr_print_netr_DSRDEREGISTERDNSHOSTRECORDS(struct ndr_print *ndr, const char *name, int flags, const struct netr_DSRDEREGISTERDNSHOSTRECORDS *r);
|
||||
void ndr_print_netr_NETRSERVERTRUSTPASSWORDSGET(struct ndr_print *ndr, const char *name, int flags, const struct netr_NETRSERVERTRUSTPASSWORDSGET *r);
|
||||
void ndr_print_netr_DSRGETFORESTTRUSTINFORMATION(struct ndr_print *ndr, const char *name, int flags, const struct netr_DSRGETFORESTTRUSTINFORMATION *r);
|
||||
void ndr_print_netr_NETRGETFORESTTRUSTINFORMATION(struct ndr_print *ndr, const char *name, int flags, const struct netr_NETRGETFORESTTRUSTINFORMATION *r);
|
||||
void ndr_print_netr_LogonSamLogonWithFlags(struct ndr_print *ndr, const char *name, int flags, const struct netr_LogonSamLogonWithFlags *r);
|
||||
void ndr_print_netr_NETRSERVERGETTRUSTINFO(struct ndr_print *ndr, const char *name, int flags, const struct netr_NETRSERVERGETTRUSTINFO *r);
|
||||
#endif /* _HEADER_NDR_netlogon */
|
1352
source/librpc/gen_ndr/netlogon.h
Normal file
1352
source/librpc/gen_ndr/netlogon.h
Normal file
File diff suppressed because it is too large
Load Diff
2653
source/librpc/gen_ndr/srv_netlogon.c
Normal file
2653
source/librpc/gen_ndr/srv_netlogon.c
Normal file
File diff suppressed because it is too large
Load Diff
53
source/librpc/gen_ndr/srv_netlogon.h
Normal file
53
source/librpc/gen_ndr/srv_netlogon.h
Normal file
@ -0,0 +1,53 @@
|
||||
#include "librpc/gen_ndr/ndr_netlogon.h"
|
||||
#ifndef __SRV_NETLOGON__
|
||||
#define __SRV_NETLOGON__
|
||||
WERROR _netr_LogonUasLogon(pipes_struct *p, const char *server_name, const char *account_name, const char *workstation, struct netr_UasInfo *info);
|
||||
WERROR _netr_LogonUasLogoff(pipes_struct *p, const char *server_name, const char *account_name, const char *workstation, struct netr_UasLogoffInfo *info);
|
||||
NTSTATUS _netr_LogonSamLogon(pipes_struct *p, const char *server_name, const char *computer_name, struct netr_Authenticator *credential, struct netr_Authenticator *return_authenticator, uint16_t logon_level, union netr_LogonLevel logon, uint16_t validation_level, union netr_Validation *validation, uint8_t *authoritative);
|
||||
NTSTATUS _netr_LogonSamLogoff(pipes_struct *p, const char *server_name, const char *computer_name, struct netr_Authenticator *credential, struct netr_Authenticator *return_authenticator, uint16_t logon_level, union netr_LogonLevel logon);
|
||||
NTSTATUS _netr_ServerReqChallenge(pipes_struct *p, const char *server_name, const char *computer_name, struct netr_Credential *credentials);
|
||||
NTSTATUS _netr_ServerAuthenticate(pipes_struct *p, const char *server_name, const char *account_name, enum netr_SchannelType secure_channel_type, const char *computer_name, struct netr_Credential *credentials);
|
||||
NTSTATUS _netr_ServerPasswordSet(pipes_struct *p, const char *server_name, const char *account_name, enum netr_SchannelType secure_channel_type, const char *computer_name, struct netr_Authenticator credential, struct samr_Password new_password, struct netr_Authenticator *return_authenticator);
|
||||
NTSTATUS _netr_DatabaseDeltas(pipes_struct *p, const char *logon_server, const char *computername, struct netr_Authenticator credential, struct netr_Authenticator *return_authenticator, enum netr_SamDatabaseID database_id, uint64_t *sequence_num, uint32_t preferredmaximumlength, struct netr_DELTA_ENUM_ARRAY *delta_enum_array);
|
||||
NTSTATUS _netr_DatabaseSync(pipes_struct *p, const char *logon_server, const char *computername, struct netr_Authenticator credential, struct netr_Authenticator *return_authenticator, enum netr_SamDatabaseID database_id, uint32_t *sync_context, uint32_t preferredmaximumlength, struct netr_DELTA_ENUM_ARRAY *delta_enum_array);
|
||||
NTSTATUS _netr_AccountDeltas(pipes_struct *p, const char *logon_server, const char *computername, struct netr_Authenticator credential, struct netr_Authenticator *return_authenticator, struct netr_UAS_INFO_0 uas, uint32_t count, uint32_t level, uint32_t buffersize, struct netr_AccountBuffer *buffer, uint32_t *count_returned, uint32_t *total_entries, struct netr_UAS_INFO_0 *recordid);
|
||||
NTSTATUS _netr_AccountSync(pipes_struct *p, const char *logon_server, const char *computername, struct netr_Authenticator credential, struct netr_Authenticator *return_authenticator, uint32_t reference, uint32_t level, uint32_t buffersize, struct netr_AccountBuffer *buffer, uint32_t *count_returned, uint32_t *total_entries, uint32_t *next_reference, struct netr_UAS_INFO_0 *recordid);
|
||||
NTSTATUS _netr_GetDcName(pipes_struct *p, const char *logon_server, const char *domainname, const char **dcname);
|
||||
WERROR _netr_LogonControl(pipes_struct *p, const char *logon_server, enum netr_LogonControlCode function_code, uint32_t level, union netr_CONTROL_QUERY_INFORMATION *info);
|
||||
WERROR _netr_GetAnyDCName(pipes_struct *p, const char *logon_server, const char *domainname, const char **dcname);
|
||||
WERROR _netr_LogonControl2(pipes_struct *p, const char *logon_server, uint32_t function_code, uint32_t level, union netr_CONTROL_DATA_INFORMATION data, union netr_CONTROL_QUERY_INFORMATION *query);
|
||||
NTSTATUS _netr_ServerAuthenticate2(pipes_struct *p, const char *server_name, const char *account_name, enum netr_SchannelType secure_channel_type, const char *computer_name, struct netr_Credential *credentials, uint32_t *negotiate_flags);
|
||||
NTSTATUS _netr_DatabaseSync2(pipes_struct *p, const char *logon_server, const char *computername, struct netr_Authenticator credential, struct netr_Authenticator *return_authenticator, enum netr_SamDatabaseID database_id, uint16_t restart_state, uint32_t *sync_context, uint32_t preferredmaximumlength, struct netr_DELTA_ENUM_ARRAY *delta_enum_array);
|
||||
NTSTATUS _netr_DatabaseRedo(pipes_struct *p, const char *logon_server, const char *computername, struct netr_Authenticator credential, struct netr_Authenticator *return_authenticator, uint8_t *change_log_entry, uint32_t change_log_entry_size, struct netr_DELTA_ENUM_ARRAY *delta_enum_array);
|
||||
WERROR _netr_LogonControl2Ex(pipes_struct *p, const char *logon_server, uint32_t function_code, uint32_t level, union netr_CONTROL_DATA_INFORMATION data, union netr_CONTROL_QUERY_INFORMATION *query);
|
||||
WERROR _netr_NETRENUMERATETRUSTEDDOMAINS(pipes_struct *p);
|
||||
WERROR _netr_DsRGetDCName(pipes_struct *p, const char *server_unc, const char *domain_name, struct GUID *domain_guid, struct GUID *site_guid, uint32_t flags, struct netr_DsRGetDCNameInfo *info);
|
||||
WERROR _netr_NETRLOGONDUMMYROUTINE1(pipes_struct *p);
|
||||
WERROR _netr_NETRLOGONSETSERVICEBITS(pipes_struct *p);
|
||||
WERROR _netr_NETRLOGONGETTRUSTRID(pipes_struct *p);
|
||||
WERROR _netr_NETRLOGONCOMPUTESERVERDIGEST(pipes_struct *p);
|
||||
WERROR _netr_NETRLOGONCOMPUTECLIENTDIGEST(pipes_struct *p);
|
||||
NTSTATUS _netr_ServerAuthenticate3(pipes_struct *p, const char *server_name, const char *account_name, enum netr_SchannelType secure_channel_type, const char *computer_name, struct netr_Credential *credentials, uint32_t *negotiate_flags, uint32_t *rid);
|
||||
WERROR _netr_DsRGetDCNameEx(pipes_struct *p, const char *server_unc, const char *domain_name, struct GUID *domain_guid, const char *site_name, uint32_t flags, struct netr_DsRGetDCNameInfo *info);
|
||||
WERROR _netr_DsRGetSiteName(pipes_struct *p, const char *computer_name, const char **site);
|
||||
NTSTATUS _netr_LogonGetDomainInfo(pipes_struct *p, const char *server_name, const char *computer_name, struct netr_Authenticator *credential, struct netr_Authenticator *return_authenticator, uint32_t level, union netr_DomainQuery query, union netr_DomainInfo *info);
|
||||
NTSTATUS _netr_ServerPasswordSet2(pipes_struct *p, const char *server_name, const char *account_name, enum netr_SchannelType secure_channel_type, const char *computer_name, struct netr_Authenticator credential, struct netr_CryptPassword new_password, struct netr_Authenticator *return_authenticator);
|
||||
WERROR _netr_NETRSERVERPASSWORDGET(pipes_struct *p);
|
||||
WERROR _netr_NETRLOGONSENDTOSAM(pipes_struct *p);
|
||||
WERROR _netr_DSRADDRESSTOSITENAMESW(pipes_struct *p);
|
||||
WERROR _netr_DsRGetDCNameEx2(pipes_struct *p, const char *server_unc, const char *client_account, uint32_t mask, const char *domain_name, struct GUID *domain_guid, const char *site_name, uint32_t flags, struct netr_DsRGetDCNameInfo *info);
|
||||
WERROR _netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN(pipes_struct *p);
|
||||
WERROR _netr_NETRENUMERATETRUSTEDDOMAINSEX(pipes_struct *p);
|
||||
WERROR _netr_DSRADDRESSTOSITENAMESEXW(pipes_struct *p);
|
||||
WERROR _netr_DSRGETDCSITECOVERAGEW(pipes_struct *p);
|
||||
NTSTATUS _netr_LogonSamLogonEx(pipes_struct *p, const char *server_name, const char *computer_name, uint16_t logon_level, union netr_LogonLevel logon, uint16_t validation_level, union netr_Validation *validation, uint8_t *authoritative, uint32_t *flags);
|
||||
WERROR _netr_DsrEnumerateDomainTrusts(pipes_struct *p, const char *server_name, uint32_t trust_flags, uint32_t *count, struct netr_DomainTrust **trusts);
|
||||
WERROR _netr_DSRDEREGISTERDNSHOSTRECORDS(pipes_struct *p);
|
||||
WERROR _netr_NETRSERVERTRUSTPASSWORDSGET(pipes_struct *p);
|
||||
WERROR _netr_DSRGETFORESTTRUSTINFORMATION(pipes_struct *p);
|
||||
WERROR _netr_NETRGETFORESTTRUSTINFORMATION(pipes_struct *p);
|
||||
NTSTATUS _netr_LogonSamLogonWithFlags(pipes_struct *p, const char *server_name, const char *computer_name, struct netr_Authenticator *credential, struct netr_Authenticator *return_authenticator, uint16_t logon_level, union netr_LogonLevel logon, uint16_t validation_level, union netr_Validation *validation, uint8_t *authoritative, uint32_t *flags);
|
||||
WERROR _netr_NETRSERVERGETTRUSTINFO(pipes_struct *p);
|
||||
void netlogon_get_pipe_fns(struct api_struct **fns, int *n_fns);
|
||||
NTSTATUS rpc_netlogon_init(void);
|
||||
#endif /* __SRV_NETLOGON__ */
|
@ -62,7 +62,7 @@ interface netlogon
|
||||
[in] [string,charset(UTF16)] uint16 *server_name,
|
||||
[in] [string,charset(UTF16)] uint16 account_name[],
|
||||
[in] [string,charset(UTF16)] uint16 workstation[],
|
||||
[out] netr_UasLogoffInfo info
|
||||
[out,ref] netr_UasLogoffInfo *info
|
||||
);
|
||||
|
||||
|
||||
@ -246,8 +246,8 @@ interface netlogon
|
||||
[in] uint16 logon_level,
|
||||
[in] [switch_is(logon_level)] netr_LogonLevel logon,
|
||||
[in] uint16 validation_level,
|
||||
[out] [switch_is(validation_level)] netr_Validation validation,
|
||||
[out] uint8 authoritative
|
||||
[out,ref] [switch_is(validation_level)] netr_Validation *validation,
|
||||
[out,ref] uint8 *authoritative
|
||||
);
|
||||
|
||||
|
||||
@ -299,7 +299,7 @@ interface netlogon
|
||||
[in] [string,charset(UTF16)] uint16 computer_name[],
|
||||
[in] netr_Authenticator credential,
|
||||
[in] samr_Password new_password,
|
||||
[out] netr_Authenticator return_authenticator
|
||||
[out,ref] netr_Authenticator *return_authenticator
|
||||
);
|
||||
|
||||
|
||||
@ -680,9 +680,9 @@ interface netlogon
|
||||
[in] [string,charset(UTF16)] uint16 logon_server[],
|
||||
[in] [string,charset(UTF16)] uint16 computername[],
|
||||
[in] netr_Authenticator credential,
|
||||
[in,out] netr_Authenticator return_authenticator,
|
||||
[in,out,ref] netr_Authenticator *return_authenticator,
|
||||
[in] netr_SamDatabaseID database_id,
|
||||
[in,out] udlong sequence_num,
|
||||
[in,out,ref] udlong *sequence_num,
|
||||
[in] uint32 preferredmaximumlength,
|
||||
[out] netr_DELTA_ENUM_ARRAY *delta_enum_array
|
||||
);
|
||||
@ -695,9 +695,9 @@ interface netlogon
|
||||
[in] [string,charset(UTF16)] uint16 logon_server[],
|
||||
[in] [string,charset(UTF16)] uint16 computername[],
|
||||
[in] netr_Authenticator credential,
|
||||
[in,out] netr_Authenticator return_authenticator,
|
||||
[in,out,ref] netr_Authenticator *return_authenticator,
|
||||
[in] netr_SamDatabaseID database_id,
|
||||
[in,out] uint32 sync_context,
|
||||
[in,out,ref] uint32 *sync_context,
|
||||
[in] uint32 preferredmaximumlength,
|
||||
[out] netr_DELTA_ENUM_ARRAY *delta_enum_array
|
||||
);
|
||||
@ -722,15 +722,15 @@ interface netlogon
|
||||
[in] [string,charset(UTF16)] uint16 *logon_server,
|
||||
[in] [string,charset(UTF16)] uint16 computername[],
|
||||
[in] netr_Authenticator credential,
|
||||
[in,out] netr_Authenticator return_authenticator,
|
||||
[in,out,ref] netr_Authenticator *return_authenticator,
|
||||
[in] netr_UAS_INFO_0 uas,
|
||||
[in] uint32 count,
|
||||
[in] uint32 level,
|
||||
[in] uint32 buffersize,
|
||||
[out,subcontext(4)] netr_AccountBuffer buffer,
|
||||
[out] uint32 count_returned,
|
||||
[out] uint32 total_entries,
|
||||
[out] netr_UAS_INFO_0 recordid
|
||||
[out,ref,subcontext(4)] netr_AccountBuffer *buffer,
|
||||
[out,ref] uint32 *count_returned,
|
||||
[out,ref] uint32 *total_entries,
|
||||
[out,ref] netr_UAS_INFO_0 *recordid
|
||||
);
|
||||
|
||||
|
||||
@ -741,15 +741,15 @@ interface netlogon
|
||||
[in] [string,charset(UTF16)] uint16 *logon_server,
|
||||
[in] [string,charset(UTF16)] uint16 computername[],
|
||||
[in] netr_Authenticator credential,
|
||||
[in,out] netr_Authenticator return_authenticator,
|
||||
[in,out,ref] netr_Authenticator *return_authenticator,
|
||||
[in] uint32 reference,
|
||||
[in] uint32 level,
|
||||
[in] uint32 buffersize,
|
||||
[out,subcontext(4)] netr_AccountBuffer buffer,
|
||||
[out] uint32 count_returned,
|
||||
[out] uint32 total_entries,
|
||||
[out] uint32 next_reference,
|
||||
[in,out] netr_UAS_INFO_0 recordid
|
||||
[out,ref,subcontext(4)] netr_AccountBuffer *buffer,
|
||||
[out,ref] uint32 *count_returned,
|
||||
[out,ref] uint32 *total_entries,
|
||||
[out,ref] uint32 *next_reference,
|
||||
[in,out,ref] netr_UAS_INFO_0 *recordid
|
||||
);
|
||||
|
||||
|
||||
@ -759,7 +759,7 @@ interface netlogon
|
||||
NTSTATUS netr_GetDcName(
|
||||
[in] [string,charset(UTF16)] uint16 logon_server[],
|
||||
[in] [string,charset(UTF16)] uint16 *domainname,
|
||||
[out] [string,charset(UTF16)] uint16 *dcname
|
||||
[out,ref] [string,charset(UTF16)] uint16 **dcname
|
||||
);
|
||||
|
||||
/*****************/
|
||||
@ -805,7 +805,7 @@ interface netlogon
|
||||
[in] [string,charset(UTF16)] uint16 *logon_server,
|
||||
[in] netr_LogonControlCode function_code,
|
||||
[in] uint32 level,
|
||||
[out,switch_is(level)] netr_CONTROL_QUERY_INFORMATION info
|
||||
[out,ref,switch_is(level)] netr_CONTROL_QUERY_INFORMATION *info
|
||||
);
|
||||
|
||||
|
||||
@ -815,7 +815,7 @@ interface netlogon
|
||||
WERROR netr_GetAnyDCName(
|
||||
[in] [string,charset(UTF16)] uint16 *logon_server,
|
||||
[in] [string,charset(UTF16)] uint16 *domainname,
|
||||
[out] [string,charset(UTF16)] uint16 *dcname
|
||||
[out,ref] [string,charset(UTF16)] uint16 **dcname
|
||||
);
|
||||
|
||||
|
||||
@ -834,7 +834,7 @@ interface netlogon
|
||||
[in] uint32 function_code,
|
||||
[in] uint32 level,
|
||||
[in][switch_is(function_code)] netr_CONTROL_DATA_INFORMATION data,
|
||||
[out][switch_is(level)] netr_CONTROL_QUERY_INFORMATION query
|
||||
[out,ref][switch_is(level)] netr_CONTROL_QUERY_INFORMATION *query
|
||||
);
|
||||
|
||||
|
||||
@ -865,10 +865,10 @@ interface netlogon
|
||||
[in] [string,charset(UTF16)] uint16 logon_server[],
|
||||
[in] [string,charset(UTF16)] uint16 computername[],
|
||||
[in] netr_Authenticator credential,
|
||||
[in,out] netr_Authenticator return_authenticator,
|
||||
[in,out,ref] netr_Authenticator *return_authenticator,
|
||||
[in] netr_SamDatabaseID database_id,
|
||||
[in] uint16 restart_state,
|
||||
[in,out] uint32 sync_context,
|
||||
[in,out,ref] uint32 *sync_context,
|
||||
[in] uint32 preferredmaximumlength,
|
||||
[out] netr_DELTA_ENUM_ARRAY *delta_enum_array
|
||||
);
|
||||
@ -883,7 +883,7 @@ interface netlogon
|
||||
[in] [string,charset(UTF16)] uint16 logon_server[],
|
||||
[in] [string,charset(UTF16)] uint16 computername[],
|
||||
[in] netr_Authenticator credential,
|
||||
[in,out] netr_Authenticator return_authenticator,
|
||||
[in,out,ref] netr_Authenticator *return_authenticator,
|
||||
[in][size_is(change_log_entry_size)] uint8 *change_log_entry,
|
||||
[in] uint32 change_log_entry_size,
|
||||
[out] netr_DELTA_ENUM_ARRAY *delta_enum_array
|
||||
@ -898,7 +898,7 @@ interface netlogon
|
||||
[in] uint32 function_code,
|
||||
[in] uint32 level,
|
||||
[in][switch_is(function_code)] netr_CONTROL_DATA_INFORMATION data,
|
||||
[out][switch_is(level)] netr_CONTROL_QUERY_INFORMATION query
|
||||
[out,ref][switch_is(level)] netr_CONTROL_QUERY_INFORMATION *query
|
||||
);
|
||||
|
||||
/*****************/
|
||||
@ -976,7 +976,7 @@ interface netlogon
|
||||
/* Function 0x1c */
|
||||
WERROR netr_DsRGetSiteName(
|
||||
[in] [string,charset(UTF16)] uint16 *computer_name,
|
||||
[out] [string,charset(UTF16)] uint16 *site
|
||||
[out,ref] [string,charset(UTF16)] uint16 **site
|
||||
);
|
||||
|
||||
/****************/
|
||||
@ -1042,7 +1042,7 @@ interface netlogon
|
||||
[in,out,ref] netr_Authenticator *return_authenticator,
|
||||
[in] uint32 level,
|
||||
[in,switch_is(level)] netr_DomainQuery query,
|
||||
[out,switch_is(level)] netr_DomainInfo info
|
||||
[out,ref,switch_is(level)] netr_DomainInfo *info
|
||||
);
|
||||
|
||||
typedef [flag(NDR_PAHEX)] struct {
|
||||
@ -1059,7 +1059,7 @@ interface netlogon
|
||||
[in] [string,charset(UTF16)] uint16 computer_name[],
|
||||
[in] netr_Authenticator credential,
|
||||
[in] netr_CryptPassword new_password,
|
||||
[out] netr_Authenticator return_authenticator
|
||||
[out,ref] netr_Authenticator *return_authenticator
|
||||
);
|
||||
|
||||
/****************/
|
||||
@ -1111,9 +1111,9 @@ interface netlogon
|
||||
[in] uint16 logon_level,
|
||||
[in] [switch_is(logon_level)] netr_LogonLevel logon,
|
||||
[in] uint16 validation_level,
|
||||
[out] [switch_is(validation_level)] netr_Validation validation,
|
||||
[out] uint8 authoritative,
|
||||
[in,out] uint32 flags
|
||||
[out,ref] [switch_is(validation_level)] netr_Validation *validation,
|
||||
[out,ref] uint8 *authoritative,
|
||||
[in,out,ref] uint32 *flags
|
||||
);
|
||||
|
||||
/****************/
|
||||
@ -1159,8 +1159,8 @@ interface netlogon
|
||||
WERROR netr_DsrEnumerateDomainTrusts(
|
||||
[in] [string,charset(UTF16)] uint16 *server_name,
|
||||
[in] netr_TrustFlags trust_flags,
|
||||
[out] uint32 count,
|
||||
[out,size_is(count)] netr_DomainTrust *trusts
|
||||
[out,ref] uint32 *count,
|
||||
[out,ref,size_is(count)] netr_DomainTrust **trusts
|
||||
);
|
||||
|
||||
|
||||
@ -1192,9 +1192,9 @@ interface netlogon
|
||||
[in] uint16 logon_level,
|
||||
[in] [switch_is(logon_level)] netr_LogonLevel logon,
|
||||
[in] uint16 validation_level,
|
||||
[out] [switch_is(validation_level)] netr_Validation validation,
|
||||
[out] uint8 authoritative,
|
||||
[in,out] uint32 flags
|
||||
[out,ref] [switch_is(validation_level)] netr_Validation *validation,
|
||||
[out,ref] uint8 *authoritative,
|
||||
[in,out,ref] uint32 *flags
|
||||
);
|
||||
|
||||
/****************/
|
||||
|
Loading…
Reference in New Issue
Block a user