From 66198b085aafdf12a15e80771bd7468d7465532a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 16 Nov 2009 19:38:32 +0100 Subject: netlogon.idl: fix ndr_pull_netr_DatabaseRedo() We can't use subcontext_size() here, as change_log_entry_size is encoded after the subcontext. metze --- librpc/idl/netlogon.idl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'librpc/idl') diff --git a/librpc/idl/netlogon.idl b/librpc/idl/netlogon.idl index 82a60c7c3e..77fc380f5d 100644 --- a/librpc/idl/netlogon.idl +++ b/librpc/idl/netlogon.idl @@ -1049,8 +1049,15 @@ interface netlogon [in] [string,charset(UTF16)] uint16 *computername, [in] netr_Authenticator *credential, [in,out,ref] netr_Authenticator *return_authenticator, - [in] [subcontext(4),subcontext_size(change_log_entry_size)] netr_ChangeLogEntry change_log_entry, - [in] [value(ndr_size_netr_ChangeLogEntry(&change_log_entry, ndr->iconv_convenience, ndr->flags))] uint32 change_log_entry_size, + /* + * we cannot use subcontext_size() here, as + * change_log_entry_size is encoded after the subcontext + */ + [in] [subcontext(4)/*,subcontext_size(change_log_entry_size)*/] + netr_ChangeLogEntry change_log_entry, + [in] [value(ndr_size_netr_ChangeLogEntry(&change_log_entry, + ndr->iconv_convenience, ndr->flags))] + uint32 change_log_entry_size, [out,ref] netr_DELTA_ENUM_ARRAY **delta_enum_array ); -- cgit