From be69066736c23f40d9131e608ead94874208da05 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 7 Dec 2006 20:12:24 +0000 Subject: [PATCH] r20072: make sure WERR_ACCESS_DENIED gets mapped to NT_STATUS_ACCESS_DENIED metze (This used to be commit 417f64184e734ab4ce5c78dc3d268c5c4a2cd18d) --- source4/libcli/util/errormap.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source4/libcli/util/errormap.c b/source4/libcli/util/errormap.c index 1e90969f950..ff6acf9dd9b 100644 --- a/source4/libcli/util/errormap.c +++ b/source4/libcli/util/errormap.c @@ -617,6 +617,11 @@ static const struct { NTSTATUS ntstatus; WERROR werror; } ntstatus_to_werror_map[] = { + /* + * we add this manualy here, so that W_ERROR(0x5) + * gets mapped to NTSTATUS_ACCESS_DENIED + */ + {NT_STATUS_ACCESS_DENIED, WERR_ACCESS_DENIED}, {NT_STATUS(0x103), W_ERROR(0x3e5)}, {NT_STATUS(0x105), W_ERROR(0xea)}, {NT_STATUS(0x106), W_ERROR(0x514)},