BUG: https://bugzilla.samba.org/show_bug.cgi?id=15425
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit
62afadb3ebac49a684fb0e5a1beb6d7db6f5e515)
bool close_policy_hnd(struct pipes_struct *p, struct policy_handle *hnd);
bool pipe_access_check(struct pipes_struct *p);
+#define DCESRV_COMPAT_NOT_USED_ON_WIRE(__opname) \
+void _## __opname(struct pipes_struct *p, struct __opname *r) \
+{ \
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR; \
+}
+
#endif /* _RPC_PIPES_H_ */