From bd4bbd9bebc21da232d6a9ed53814eecda2163f3 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 16 Jun 2010 12:07:43 +0200 Subject: pidl: make sure to fill in cli->pipes_struct->hdr_req.opnum in s3 server dispatch tables. Guenther --- pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pidl') 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; -- cgit