summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-05-13 07:57:27 +1000
committerGünther Deschner <gd@samba.org>2010-05-18 17:17:43 +0200
commit864a95fd9c2dc74f2612478e7b7784c9abc37257 (patch)
tree14d75a2c3941738a9c6249c08083c1e995a583ac
parentf5f184a77cfe83498d6e55f10fdf79ca37229696 (diff)
downloadsamba-864a95fd9c2dc74f2612478e7b7784c9abc37257.tar.gz
samba-864a95fd9c2dc74f2612478e7b7784c9abc37257.tar.bz2
samba-864a95fd9c2dc74f2612478e7b7784c9abc37257.zip
s3:winbind use no_srv_register to avoid needing rpc_srv_register
This pidl attribute avoids the need for this dummy function, which helps s3compat. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
-rw-r--r--source3/librpc/idl/wbint.idl3
-rw-r--r--source3/winbindd/winbindd_dual_ndr.c10
2 files changed, 2 insertions, 11 deletions
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;
-}