From: Günther Deschner Date: Wed, 16 Jun 2010 10:07:43 +0000 (+0200) Subject: pidl: make sure to fill in cli->pipes_struct->hdr_req.opnum in s3 server dispatch... X-Git-Url: http://git.samba.org/?p=kamenim%2Fsamba.git;a=commitdiff_plain;h=bd4bbd9bebc21da232d6a9ed53814eecda2163f3 pidl: make sure to fill in cli->pipes_struct->hdr_req.opnum in s3 server dispatch tables. Guenther --- diff --git a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm index f4dbe18bc1..0fdc89b9d7 100644 --- a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm +++ b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm @@ -234,6 +234,9 @@ sub ParseDispatchFunction($) pidl "\treturn NT_STATUS_INVALID_PARAMETER;"; pidl "}"; pidl ""; + pidl "/* set opnum in fake rpc header */"; + pidl "cli->pipes_struct->hdr_req.opnum = opnum;"; + pidl ""; pidl "switch (opnum)"; pidl "{"; indent;