diff options
author | Günther Deschner <gd@samba.org> | 2010-06-16 12:07:43 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-06-16 12:15:24 +0200 |
commit | bd4bbd9bebc21da232d6a9ed53814eecda2163f3 (patch) | |
tree | 8a831e78122d36eeada0cbb3b6f030ade9693436 | |
parent | 439e7590c920ebdf70e74e15483a3c1e3500331b (diff) | |
download | samba-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
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm | 3 |
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; |