summaryrefslogtreecommitdiff
path: root/source3/libsmb/errormap.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-12-02 10:28:23 -0800
committerJeremy Allison <jra@samba.org>2011-12-02 20:41:02 +0100
commit3e0d923096cddcbf83cfa2d9594df5fa21331650 (patch)
tree22f9737789af5f9760c4cd7dd0cc8daa9b736602 /source3/libsmb/errormap.c
parent010566215b4d76ae5348652e1f8f175b1895849a (diff)
downloadsamba-3e0d923096cddcbf83cfa2d9594df5fa21331650.tar.gz
samba-3e0d923096cddcbf83cfa2d9594df5fa21331650.tar.bz2
samba-3e0d923096cddcbf83cfa2d9594df5fa21331650.zip
Ensure we map our own Samba return of ERRSRV, ERRunknownsmb
on an unknown SMB request to NT_STATUS_NOT_IMPLEMENTED.
Diffstat (limited to 'source3/libsmb/errormap.c')
-rw-r--r--source3/libsmb/errormap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c
index 975de4f3c6..b80065dde0 100644
--- a/source3/libsmb/errormap.c
+++ b/source3/libsmb/errormap.c
@@ -166,6 +166,7 @@ static const struct {
{ERRSRV, ERRnoroom, NT_STATUS_DISK_FULL},
{ERRSRV, ERRnoresource, NT_STATUS_REQUEST_NOT_ACCEPTED},
{ERRSRV, ERRtoomanyuids, NT_STATUS_TOO_MANY_SESSIONS},
+ {ERRSRV, ERRunknownsmb, NT_STATUS_NOT_IMPLEMENTED},
{ERRSRV, 123, NT_STATUS_OBJECT_NAME_INVALID},
{ERRSRV, 206, NT_STATUS_OBJECT_NAME_INVALID},
{ERRHRD, 1, NT_STATUS_NOT_IMPLEMENTED},