summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-10-21 23:14:39 +0000
committerJeremy Allison <jra@samba.org>2003-10-21 23:14:39 +0000
commit3029c5bbd8bd0e5459612b4cf6208115ca867c51 (patch)
tree58173951fe4f7ce416ffd0fee97c23fc95ed30c0 /source3/libsmb
parentdb8e98175c47cddd89e07b5e1c4c8b5f88651ccc (diff)
downloadsamba-3029c5bbd8bd0e5459612b4cf6208115ca867c51.tar.gz
samba-3029c5bbd8bd0e5459612b4cf6208115ca867c51.tar.bz2
samba-3029c5bbd8bd0e5459612b4cf6208115ca867c51.zip
Fix for bug #64, Win9x Nexus tools not working against Samba3.0. Missing
map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata. Jeremy. (This used to be commit 8458f4c52f32ef192287ddb8371638f42a370c6f)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/errormap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c
index 4d9a717e1c..116d2cefe1 100644
--- a/source3/libsmb/errormap.c
+++ b/source3/libsmb/errormap.c
@@ -98,6 +98,10 @@ static const struct {
*/
{ERRDOS, ERRnoaccess, NT_STATUS_ACCESS_DENIED},
{ERRDOS, 111, NT_STATUS_BUFFER_TOO_SMALL},
+/*
+ * Not an official error, as only bit 0x80000000, not bits 0xC0000000 are set.
+ */
+ {ERRDOS, ERRmoredata, STATUS_BUFFER_OVERFLOW},
{ERRDOS, ERRbadfid, NT_STATUS_OBJECT_TYPE_MISMATCH},
{ERRHRD, ERRgeneral, NT_STATUS_NONCONTINUABLE_EXCEPTION},
{ERRHRD, ERRgeneral, NT_STATUS_INVALID_DISPOSITION},