summaryrefslogtreecommitdiffstats
path: root/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-06 23:29:25 +0100
committerVolker Lendecke <vl@samba.org>2009-01-09 23:17:57 +0100
commit125696b73dbe3d0813432c9775c146e861b4707c (patch)
tree15dc15f61d9e8927902a9d8af73310a18e705ad2 /pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
parentf8f878285d348e43a22385c1907dff3e120d4b59 (diff)
downloadsamba-125696b73dbe3d0813432c9775c146e861b4707c.tar.gz
samba-125696b73dbe3d0813432c9775c146e861b4707c.tar.xz
samba-125696b73dbe3d0813432c9775c146e861b4707c.zip
Pass the full ndr_interface_table into the s3 rpcserver when registering
Diffstat (limited to 'pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm')
-rw-r--r--pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
index eb3cdf20cb0..05edda9acba 100644
--- a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
+++ b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
@@ -247,7 +247,7 @@ sub ParseInterface($)
pidl_hdr "NTSTATUS rpc_$if->{NAME}_init(void);";
pidl "NTSTATUS rpc_$if->{NAME}_init(void)";
pidl "{";
- pidl "\treturn rpc_pipe_register_commands(SMB_RPC_INTERFACE_VERSION, \"$if->{NAME}\", \"$if->{NAME}\", \&ndr_table_$if->{NAME}.syntax_id, api_$if->{NAME}_cmds, sizeof(api_$if->{NAME}_cmds) / sizeof(struct api_struct));";
+ pidl "\treturn rpc_srv_register(SMB_RPC_INTERFACE_VERSION, \"$if->{NAME}\", \"$if->{NAME}\", \&ndr_table_$if->{NAME}, api_$if->{NAME}_cmds, sizeof(api_$if->{NAME}_cmds) / sizeof(struct api_struct));";
pidl "}";
pidl_hdr "#endif /* __SRV_$uif\__ */";