From 864a95fd9c2dc74f2612478e7b7784c9abc37257 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 13 May 2010 07:57:27 +1000 Subject: s3:winbind use no_srv_register to avoid needing rpc_srv_register MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This pidl attribute avoids the need for this dummy function, which helps s3compat. Andrew Bartlett Signed-off-by: Günther Deschner --- source3/librpc/idl/wbint.idl | 3 ++- source3/winbindd/winbindd_dual_ndr.c | 10 ---------- 2 files changed, 2 insertions(+), 11 deletions(-) (limited to 'source3') diff --git a/source3/librpc/idl/wbint.idl b/source3/librpc/idl/wbint.idl index 432d59e086..2fd3e8815a 100644 --- a/source3/librpc/idl/wbint.idl +++ b/source3/librpc/idl/wbint.idl @@ -6,7 +6,8 @@ import "lsa.idl", "netlogon.idl"; endpoint("ncalrpc:"), pointer_default(unique), version(1.0), - helpstring("winbind parent-child protocol") + helpstring("winbind parent-child protocol"), + no_srv_register ] interface wbint { diff --git a/source3/winbindd/winbindd_dual_ndr.c b/source3/winbindd/winbindd_dual_ndr.c index bc85d53a15..e100405382 100644 --- a/source3/winbindd/winbindd_dual_ndr.c +++ b/source3/winbindd/winbindd_dual_ndr.c @@ -284,13 +284,3 @@ enum winbindd_result winbindd_dual_ndrcmd(struct winbindd_domain *domain, } return WINBINDD_OK; } - -/* - * Just a dummy to make srv_wbint.c happy - */ -NTSTATUS rpc_srv_register(int version, const char *clnt, const char *srv, - const struct ndr_interface_table *iface, - const struct api_struct *cmds, int size) -{ - return NT_STATUS_OK; -} -- cgit