summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm3
1 files changed, 3 insertions, 0 deletions
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;