summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-19 22:44:55 +0100
committerVolker Lendecke <vl@samba.org>2008-01-19 22:58:17 +0100
commit14e7c292bc76b0edb8cafcaa728a612fa806fa6d (patch)
tree924101a16c9f3dbdb6208a203c67dcb6856e3f65 /source3
parent1b976d51928dd6fa923272d277e13e5267188869 (diff)
downloadsamba-14e7c292bc76b0edb8cafcaa728a612fa806fa6d.tar.gz
samba-14e7c292bc76b0edb8cafcaa728a612fa806fa6d.tar.bz2
samba-14e7c292bc76b0edb8cafcaa728a612fa806fa6d.zip
Add an error mapping for ENOATTR
(This used to be commit 9f0d778490415b05224f36287df999672ee16928)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/errmap_unix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c
index 885a1c55b2..8194cf80cc 100644
--- a/source3/lib/errmap_unix.c
+++ b/source3/lib/errmap_unix.c
@@ -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 }
};