summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-11-16 19:38:32 +0100
committerStefan Metzmacher <metze@samba.org>2009-11-17 09:00:48 +0100
commit66198b085aafdf12a15e80771bd7468d7465532a (patch)
tree66f855cebae68fbc720bc6fa286dd6dd0298bc90
parent475015507172f708f295ff29e1feaec08a6476e0 (diff)
downloadsamba-66198b085aafdf12a15e80771bd7468d7465532a.tar.gz
samba-66198b085aafdf12a15e80771bd7468d7465532a.tar.bz2
samba-66198b085aafdf12a15e80771bd7468d7465532a.zip
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
-rw-r--r--librpc/idl/netlogon.idl11
1 files changed, 9 insertions, 2 deletions
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
);