git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
-ENOTSUP translates to NT_STATUS_NOT_SUPPORTED
[samba.git]
/
source3
/
lib
/
errmap_unix.c
diff --git
a/source3/lib/errmap_unix.c
b/source3/lib/errmap_unix.c
index d5b94e998579f6606c784090c4bd1a55d7a86359..91a620eccec2ccb2de1b642e21ea68bf1f33d854 100644
(file)
--- a/
source3/lib/errmap_unix.c
+++ b/
source3/lib/errmap_unix.c
@@
-105,7
+105,9
@@
const struct unix_error_map unix_dos_nt_errmap[] = {
#ifdef ECANCELED
{ ECANCELED, ERRDOS, ERRbadfid, NT_STATUS_CANCELLED},
#endif
-
+#ifdef ENOTSUP
+ { ENOTSUP, ERRSRV, ERRnosupport, NT_STATUS_NOT_SUPPORTED},
+#endif
{ 0, 0, 0, NT_STATUS_OK }
};