summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-06 07:38:41 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-06 16:37:19 +0100
commit4b6cbe80b28b7a99ba8f35190d809f5a439fdd22 (patch)
tree6c6a9dd3955f8b2136fd62f11ac8aaf0ad57a95e /source3/lib
parent918e6288fa775893a7e895334e05ce7780f89eaf (diff)
downloadsamba-4b6cbe80b28b7a99ba8f35190d809f5a439fdd22.tar.gz
samba-4b6cbe80b28b7a99ba8f35190d809f5a439fdd22.tar.bz2
samba-4b6cbe80b28b7a99ba8f35190d809f5a439fdd22.zip
s3:errormap: add ECANCELED, ERRDOS/ERRbadfid, NT_STATUS_CANCELLED mapping
If someone knows a better dos error, please tell me... metze
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/errmap_unix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c
index 9adb237096..bb09726ee0 100644
--- a/source3/lib/errmap_unix.c
+++ b/source3/lib/errmap_unix.c
@@ -95,6 +95,9 @@ const struct unix_error_map unix_dos_nt_errmap[] = {
#ifdef ENOATTR
{ ENOATTR, ERRDOS, ERRbadfile, NT_STATUS_NOT_FOUND },
#endif
+#ifdef ECANCELED
+ { ECANCELED, ERRDOS, ERRbadfid, NT_STATUS_CANCELLED},
+#endif
{ 0, 0, 0, NT_STATUS_OK }
};