git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
439e759
)
pidl: make sure to fill in cli->pipes_struct->hdr_req.opnum in s3 server dispatch...
author
Günther Deschner
<gd@samba.org>
Wed, 16 Jun 2010 10:07:43 +0000
(12:07 +0200)
committer
Günther Deschner
<gd@samba.org>
Wed, 16 Jun 2010 10:15:24 +0000
(12:15 +0200)
Guenther
pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
index f4dbe18bc1f1a758ae3054582b87c615ab5a8fb8..0fdc89b9d72c8088076fe4c62a7bc672e8c61e82 100644
(file)
--- 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;