[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Thu Aug 19 04:11:47 MDT 2010
The branch, master has been updated
via 9b8f7a2... -ENOTSUP translates to NT_STATUS_NOT_SUPPORTED
from ba706d6... s3: Remove smb_pam_accountcheck from the auth modules
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 9b8f7a2a01845a37176ce7b4b4024503d6e9ca62
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>
-----------------------------------------------------------------------
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