s3:winbind use no_srv_register to avoid needing rpc_srv_register
authorAndrew Bartlett <abartlet@samba.org>
Wed, 12 May 2010 21:57:27 +0000 (07:57 +1000)
committerGünther Deschner <gd@samba.org>
Tue, 18 May 2010 15:17:43 +0000 (17:17 +0200)
This pidl attribute avoids the need for this dummy function, which
helps s3compat.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
source3/librpc/idl/wbint.idl
source3/winbindd/winbindd_dual_ndr.c

index 432d59e08616400d1a44b219baa99909412bdcd5..2fd3e8815a131fb7284aceca74570c61726aae86 100644 (file)
@@ -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
 {
index bc85d53a1538c7785f7e19673261d9ab2a3dcaac..e100405382d12356e75f669a9e6ab2db3cbee11b 100644 (file)
@@ -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;
-}