From 15b258051cf3bbf8592eac0fd5e3d747d7172101 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 14 Nov 2003 08:27:39 +0000 Subject: * added levels 4, 200 and 300 to NetDfsEnum. 200 and 300 don't work properly, I'm still investigating that. * changed dcerpc fault status code to NT_STATUS_NETWORK_WRITE_FAULT, which I think is a better mapping (This used to be commit 9ad28f6ddbb777de7cac11e71c392b508c81b741) --- source4/librpc/rpc/dcerpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/librpc/rpc') diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index f72e7b1a88..6e6436887b 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -331,7 +331,7 @@ NTSTATUS dcerpc_pull(DATA_BLOB *blob, TALLOC_CTX *mem_ctx, struct dcerpc_packet break; default: - return NT_STATUS_INVALID_LEVEL; + return NT_STATUS_NET_WRITE_FAULT; } return status; @@ -478,7 +478,7 @@ NTSTATUS dcerpc_push(DATA_BLOB *blob, TALLOC_CTX *mem_ctx, struct dcerpc_packet break; default: - status = NT_STATUS_INVALID_LEVEL; + status = NT_STATUS_NET_WRITE_FAULT; } return status; -- cgit