summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-14 08:27:39 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-14 08:27:39 +0000
commit15b258051cf3bbf8592eac0fd5e3d747d7172101 (patch)
tree98583d43a86d63d311ab40fc61249256a261d871 /source4/librpc/rpc
parent57529207ca1c0f2a95e6e9f85fc41bb9a27aa64c (diff)
downloadsamba-15b258051cf3bbf8592eac0fd5e3d747d7172101.tar.gz
samba-15b258051cf3bbf8592eac0fd5e3d747d7172101.tar.bz2
samba-15b258051cf3bbf8592eac0fd5e3d747d7172101.zip
* 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)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc.c4
1 files changed, 2 insertions, 2 deletions
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;