summaryrefslogtreecommitdiff
path: root/pidl
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-08 11:35:53 +0100
committerVolker Lendecke <vl@samba.org>2009-11-08 13:12:15 +0100
commit494b2aff8826947e3bd556aecb175746163da485 (patch)
tree55168d16ade6971be5de092305eb7a3016336820 /pidl
parent98fb71782e05ae72cd6abeb38b6e0b96a50c1761 (diff)
downloadsamba-494b2aff8826947e3bd556aecb175746163da485.tar.gz
samba-494b2aff8826947e3bd556aecb175746163da485.tar.bz2
samba-494b2aff8826947e3bd556aecb175746163da485.zip
s3: Do not reference ndr_table when calling rpc_srv_register
Diffstat (limited to 'pidl')
-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 560f28d0e3..ba592f5fd0 100644
--- a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
+++ b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
@@ -306,7 +306,7 @@ sub ParseInterface($)
pidl_hdr "NTSTATUS rpc_$if->{NAME}_init(void);";
pidl "NTSTATUS rpc_$if->{NAME}_init(void)";
pidl "{";
- 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 "\treturn rpc_srv_register(SMB_RPC_INTERFACE_VERSION, \"$if->{NAME}\", \"$if->{NAME}\", NDR_".$uif."_UUID, NDR_".$uif."_VERSION, api_$if->{NAME}_cmds, sizeof(api_$if->{NAME}_cmds) / sizeof(struct api_struct));";
pidl "}";
pidl_hdr "#endif /* __SRV_$uif\__ */";