git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02ad297
)
This brings the NT->DOS error mapping into better line with what NT does.
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 1 Jan 2002 06:16:43 +0000
(06:16 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 1 Jan 2002 06:16:43 +0000
(06:16 +0000)
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
patch
|
blob
|
history
diff --git
a/source3/libsmb/errormap.c
b/source3/libsmb/errormap.c
index ab524a01f596677144d0ccf19c591245cf3e2ab0..cf3dc34618ce595a155f97ae459ea40d81e94531 100644
(file)
--- 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 = ERR
SRV
;
- *ecode = ERR
error
;
+ *eclass = ERR
HRD
;
+ *ecode = ERR
general
;
}