summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_netlogon.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-12 23:17:23 +0200
committerVolker Lendecke <vl@samba.org>2008-07-16 23:19:48 +0200
commite0f3ea2cbeb61cb02be85d2b315948985bac27a8 (patch)
tree8d6806f82cd2a72db4cea879a9f0309dbf650d32 /source3/librpc/gen_ndr/srv_netlogon.c
parente65ea7471e2447ed150ade9a2c4f0a67663fb8d2 (diff)
downloadsamba-e0f3ea2cbeb61cb02be85d2b315948985bac27a8.tar.gz
samba-e0f3ea2cbeb61cb02be85d2b315948985bac27a8.tar.bz2
samba-e0f3ea2cbeb61cb02be85d2b315948985bac27a8.zip
In api_pipe_bind_req(), check for the iface id, not the pipe name
This requires to store the rpc_interface in "struct rpc_table" (This used to be commit 654f8de8497aff29f9b1f1822b6a8e734ff329e0)
Diffstat (limited to 'source3/librpc/gen_ndr/srv_netlogon.c')
-rw-r--r--source3/librpc/gen_ndr/srv_netlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/srv_netlogon.c b/source3/librpc/gen_ndr/srv_netlogon.c
index 67876f11ef..154ef71d40 100644
--- a/source3/librpc/gen_ndr/srv_netlogon.c
+++ b/source3/librpc/gen_ndr/srv_netlogon.c
@@ -3862,5 +3862,5 @@ void netlogon_get_pipe_fns(struct api_struct **fns, int *n_fns)
NTSTATUS rpc_netlogon_init(void)
{
- return rpc_pipe_register_commands(SMB_RPC_INTERFACE_VERSION, "netlogon", "netlogon", api_netlogon_cmds, sizeof(api_netlogon_cmds) / sizeof(struct api_struct));
+ return rpc_pipe_register_commands(SMB_RPC_INTERFACE_VERSION, "netlogon", "netlogon", &ndr_table_netlogon.syntax_id, api_netlogon_cmds, sizeof(api_netlogon_cmds) / sizeof(struct api_struct));
}