summaryrefslogtreecommitdiff
path: root/source3/lib/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/error.c')
-rw-r--r--source3/lib/error.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/error.c b/source3/lib/error.c
index 608d2b89ba..af8cf960e8 100644
--- a/source3/lib/error.c
+++ b/source3/lib/error.c
@@ -46,6 +46,9 @@ const struct unix_error_map unix_dos_nt_errmap[] = {
#ifdef EROFS
{ EROFS, ERRHRD, ERRnowrite, NT_STATUS_ACCESS_DENIED },
#endif
+#ifdef ENAMETOOLONG
+ { ENAMETOOLONG, ERRDOS, 206, NT_STATUS_OBJECT_NAME_INVALID },
+#endif
{ 0, 0, 0, NT_STATUS_OK }
};