--- /dev/null
+/*
+ Unix SMB/CIFS implementation.
+
+ endpoint server for the witness pipe
+
+ Copyright (C) YOUR NAME HERE YEAR
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#include "includes.h"
+#include "rpc_server/dcerpc_server.h"
+#include "librpc/gen_ndr/ndr_witness.h"
+#include "rpc_server/common/common.h"
+
+
+/*
+ witness_GetInterfaceList
+*/
+static WERROR dcesrv_witness_GetInterfaceList(struct dcesrv_call_state *dce_call,
+ TALLOC_CTX *mem_ctx,
+ struct witness_GetInterfaceList *r)
+{
+ DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
+}
+
+
+/*
+ witness_Register
+*/
+static WERROR dcesrv_witness_Register(struct dcesrv_call_state *dce_call,
+ TALLOC_CTX *mem_ctx,
+ struct witness_Register *r)
+{
+ DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
+}
+
+
+/*
+ witness_UnRegister
+*/
+static WERROR dcesrv_witness_UnRegister(struct dcesrv_call_state *dce_call,
+ TALLOC_CTX *mem_ctx,
+ struct witness_UnRegister *r)
+{
+ DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
+}
+
+
+/*
+ witness_AsyncNotify
+*/
+static WERROR dcesrv_witness_AsyncNotify(struct dcesrv_call_state *dce_call,
+ TALLOC_CTX *mem_ctx,
+ struct witness_AsyncNotify *r)
+{
+ DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
+}
+
+
+/*
+ witness_RegisterEx
+*/
+static WERROR dcesrv_witness_RegisterEx(struct dcesrv_call_state *dce_call,
+ TALLOC_CTX *mem_ctx,
+ struct witness_RegisterEx *r)
+{
+ DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
+}
+
+
+/* include the generated boilerplate */
+#include "librpc/gen_ndr/ndr_witness_s.c"