summaryrefslogtreecommitdiff
path: root/source3/lib/errmap_unix.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-07-14 09:49:25 +0200
committerStefan Metzmacher <metze@samba.org>2009-07-15 11:55:39 +0200
commitfafe2589e684e1946431722c8845d0dadd9ab525 (patch)
treea69e344e23cfa5193d2a64c692e1c3bd99738ebc /source3/lib/errmap_unix.c
parentb4abb190a97456e5176088d9ab555c93fd5ea731 (diff)
downloadsamba-fafe2589e684e1946431722c8845d0dadd9ab525.tar.gz
samba-fafe2589e684e1946431722c8845d0dadd9ab525.tar.bz2
samba-fafe2589e684e1946431722c8845d0dadd9ab525.zip
s3:lib: map ENOSYS to NT_STATUS_NOT_SUPPORTED instead of NT_STATUS_ACCESS_DENIED
Jeremy: please check and decide if we want to backport this. metze
Diffstat (limited to 'source3/lib/errmap_unix.c')
-rw-r--r--source3/lib/errmap_unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c
index 0c39a572ad..00c5475394 100644
--- a/source3/lib/errmap_unix.c
+++ b/source3/lib/errmap_unix.c
@@ -40,6 +40,7 @@ const struct unix_error_map unix_dos_nt_errmap[] = {
{ EISDIR, ERRDOS, ERRnoaccess, NT_STATUS_FILE_IS_A_DIRECTORY},
{ EMLINK, ERRDOS, ERRgeneral, NT_STATUS_TOO_MANY_LINKS },
{ EINTR, ERRHRD, ERRgeneral, NT_STATUS_RETRY },
+ { ENOSYS, ERRDOS, ERRunsup, NT_STATUS_NOT_SUPPORTED },
#ifdef ELOOP
{ ELOOP, ERRDOS, ERRbadpath, NT_STATUS_OBJECT_PATH_NOT_FOUND },
#endif