From 8d09eecf6987fe55c06cd1bcf202170cd8a47d8e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 1 Jan 2002 06:16:43 +0000 Subject: 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) --- source3/libsmb/errormap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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; } -- cgit