git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3:errormap: add ECANCELED, ERRDOS/ERRbadfid, NT_STATUS_CANCELLED mapping
[samba.git]
/
source3
/
lib
/
errmap_unix.c
diff --git
a/source3/lib/errmap_unix.c
b/source3/lib/errmap_unix.c
index 9adb2370963e086b6b6a2d61c6322682bbeb4dba..bb09726ee085d82ea9ae2beb445b509ffcd83d83 100644
(file)
--- 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 }
};