summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-06-16 12:07:43 +0200
committerGünther Deschner <gd@samba.org>2010-06-16 12:15:24 +0200
commitbd4bbd9bebc21da232d6a9ed53814eecda2163f3 (patch)
tree8a831e78122d36eeada0cbb3b6f030ade9693436 /pidl/lib/Parse/Pidl
parent439e7590c920ebdf70e74e15483a3c1e3500331b (diff)
downloadsamba-bd4bbd9bebc21da232d6a9ed53814eecda2163f3.tar.gz
samba-bd4bbd9bebc21da232d6a9ed53814eecda2163f3.tar.bz2
samba-bd4bbd9bebc21da232d6a9ed53814eecda2163f3.zip
pidl: make sure to fill in cli->pipes_struct->hdr_req.opnum in s3 server dispatch tables.
Guenther
Diffstat (limited to 'pidl/lib/Parse/Pidl')
-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;