summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-08-20 20:54:32 +0000
committerJeremy Allison <jra@samba.org>2002-08-20 20:54:32 +0000
commitf744db7a5dee0764bb41c43336b1b1a933a79682 (patch)
tree9906c01cdbf8c7b7b7e42e4d076640a0ac91abe6 /source3/lib
parentd9a4055174862c87c737685eb554429e2cd985d2 (diff)
downloadsamba-f744db7a5dee0764bb41c43336b1b1a933a79682.tar.gz
samba-f744db7a5dee0764bb41c43336b1b1a933a79682.tar.bz2
samba-f744db7a5dee0764bb41c43336b1b1a933a79682.zip
IFSTEST fixes for open fid, nametoolong.
Jeremy. (This used to be commit e53a81261ed189881c0f07e1b46f97aa6770cab7)
Diffstat (limited to 'source3/lib')
-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 }
};