summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-01-01 06:16:43 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-01-01 06:16:43 +0000
commit8d09eecf6987fe55c06cd1bcf202170cd8a47d8e (patch)
tree0b866f3bc31169623ef0928f0987cb2b1a45c743
parent02ad29785b6eea290019163a41bffc27f0eb7855 (diff)
downloadsamba-8d09eecf6987fe55c06cd1bcf202170cd8a47d8e.tar.gz
samba-8d09eecf6987fe55c06cd1bcf202170cd8a47d8e.tar.bz2
samba-8d09eecf6987fe55c06cd1bcf202170cd8a47d8e.zip
This brings the NT->DOS error mapping into better line with what NT does.
I'll post the changes to the actual map to the list for comment, but this fixes the 'unknown' case. Andrew Bartlett (This used to be commit 024843a2cedb0b9f06a3351c5838caea372b6c5c)
-rw-r--r--source3/libsmb/errormap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c
index ab524a01f5..cf3dc34618 100644
--- a/source3/libsmb/errormap.c
+++ b/source3/libsmb/errormap.c
@@ -1396,8 +1396,8 @@ void ntstatus_to_dos(NTSTATUS ntstatus, uint8 *eclass, uint32 *ecode)
return;
}
}
- *eclass = ERRSRV;
- *ecode = ERRerror;
+ *eclass = ERRHRD;
+ *ecode = ERRgeneral;
}