summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/srv_ntsvcs.c
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 /librpc/gen_ndr/srv_ntsvcs.c
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 'librpc/gen_ndr/srv_ntsvcs.c')
-rw-r--r--librpc/gen_ndr/srv_ntsvcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/gen_ndr/srv_ntsvcs.c b/librpc/gen_ndr/srv_ntsvcs.c
index 0b451b8d65..2b43c95a3a 100644
--- a/librpc/gen_ndr/srv_ntsvcs.c
+++ b/librpc/gen_ndr/srv_ntsvcs.c
@@ -5314,5 +5314,5 @@ NTSTATUS rpc_ntsvcs_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
NTSTATUS rpc_ntsvcs_init(void)
{
- return rpc_srv_register(SMB_RPC_INTERFACE_VERSION, "ntsvcs", "ntsvcs", &ndr_table_ntsvcs, api_ntsvcs_cmds, sizeof(api_ntsvcs_cmds) / sizeof(struct api_struct));
+ return rpc_srv_register(SMB_RPC_INTERFACE_VERSION, "ntsvcs", "ntsvcs", NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION, api_ntsvcs_cmds, sizeof(api_ntsvcs_cmds) / sizeof(struct api_struct));
}