-ENOTSUP translates to NT_STATUS_NOT_SUPPORTED
[samba.git] / source3 / lib / errmap_unix.c
index d5b94e998579f6606c784090c4bd1a55d7a86359..91a620eccec2ccb2de1b642e21ea68bf1f33d854 100644 (file)
@@ -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 }
 };