[SCM] Samba Shared Repository - branch v3-6-test updated
Jeremy Allison
jra at samba.org
Thu Aug 19 13:28:46 MDT 2010
The branch, v3-6-test has been updated
via 8e603ca... -ENOTSUP translates to NT_STATUS_NOT_SUPPORTED
from b26e86c... Fix bug 7626 - Typo in configure samba_cv__CC_NEGATIVE_ENUM_VALUES two underscores.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test
- Log -----------------------------------------------------------------
commit 8e603ca1b898921bd882e6eea236f5d189c5d49d
Author: Surbhi Palande <surbhi.palande at canonical.com>
Date: Thu Aug 19 11:56:30 2010 +0300
-ENOTSUP translates to NT_STATUS_NOT_SUPPORTED
https://launchpad.net/bugs/276472
This patch adds the translation of Unix Error code -ENOTSUP to NT Error Code
NT_STATUS_NOT_SUPPORTED. The absense of this translation wrongly sends back to
the client a STATUS_DENIED message in samba3.
Signed-off-by: Surbhi Palande <surbhi.palande at canonical.com>
(cherry picked from commit 9b8f7a2a01845a37176ce7b4b4024503d6e9ca62)
-----------------------------------------------------------------------
Summary of changes:
source3/lib/errmap_unix.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c
index d5b94e9..91a620e 100644
--- a/source3/lib/errmap_unix.c
+++ b/source3/lib/errmap_unix.c
@@ -105,7 +105,9 @@ const struct unix_error_map unix_dos_nt_errmap[] = {
#ifdef ECANCELED
{ ECANCELED, ERRDOS, ERRbadfid, NT_STATUS_CANCELLED},
#endif
-
+#ifdef ENOTSUP
+ { ENOTSUP, ERRSRV, ERRnosupport, NT_STATUS_NOT_SUPPORTED},
+#endif
{ 0, 0, 0, NT_STATUS_OK }
};
--
Samba Shared Repository
More information about the samba-cvs
mailing list