summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/errmap_unix.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c
index d5b94e9985..91a620ecce 100644
--- 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 }
};