diff options
author | Volker Lendecke <vl@samba.org> | 2009-01-06 23:29:25 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-01-09 23:17:57 +0100 |
commit | 125696b73dbe3d0813432c9775c146e861b4707c (patch) | |
tree | 15dc15f61d9e8927902a9d8af73310a18e705ad2 /pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm | |
parent | f8f878285d348e43a22385c1907dff3e120d4b59 (diff) | |
download | samba-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.pm | 2 |
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\__ */"; |