svn commit: samba r20072 - in branches/SAMBA_4_0/source/libcli/util: .

metze at samba.org metze at samba.org
Thu Dec 7 20:12:25 GMT 2006


Author: metze
Date: 2006-12-07 20:12:24 +0000 (Thu, 07 Dec 2006)
New Revision: 20072

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20072

Log:
make sure WERR_ACCESS_DENIED gets mapped to NT_STATUS_ACCESS_DENIED

metze
Modified:
   branches/SAMBA_4_0/source/libcli/util/errormap.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/util/errormap.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/util/errormap.c	2006-12-07 20:11:00 UTC (rev 20071)
+++ branches/SAMBA_4_0/source/libcli/util/errormap.c	2006-12-07 20:12:24 UTC (rev 20072)
@@ -617,6 +617,11 @@
 	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)},



More information about the samba-cvs mailing list