diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c index ab524a01f59..cf3dc34618c 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; }