Add an error mapping for ENOATTR
authorVolker Lendecke <vl@samba.org>
Sat, 19 Jan 2008 21:44:55 +0000 (22:44 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 19 Jan 2008 21:58:17 +0000 (22:58 +0100)
source/lib/errmap_unix.c

index 885a1c55b29170d2bdb1afc885b73da7c00343c9..8194cf80cce48ae9760a1bb7d3b277e2d6060e2a 100644 (file)
@@ -92,6 +92,9 @@ const struct unix_error_map unix_dos_nt_errmap[] = {
 #ifdef EWOULDBLOCK
        { EWOULDBLOCK, ERRDOS, 111, NT_STATUS_NETWORK_BUSY },
 #endif
+#ifdef ENOATTR
+       { ENOATTR, ERRDOS, ERRbadfile, NT_STATUS_NOT_FOUND },
+#endif
 
        { 0, 0, 0, NT_STATUS_OK }
 };