mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
windows-error-codes-20051018
handle the CM_ERROR_ALLDOWN case when translating cm errors to nt status
This commit is contained in:
parent
d16fb72074
commit
5cd3d016fd
@ -2452,7 +2452,7 @@ void smb_MapNTError(long code, unsigned long *NTStatusp)
|
||||
else if (code == CM_ERROR_ALLBUSY) {
|
||||
NTStatus = 0xC00000BFL; /* Network Busy */
|
||||
}
|
||||
else if (code == CM_ERROR_ALLOFFLINE) {
|
||||
else if (code == CM_ERROR_ALLOFFLINE || code == CM_ERROR_ALLDOWN) {
|
||||
NTStatus = 0xC0000350L; /* Remote Host Down */
|
||||
}
|
||||
#else
|
||||
@ -2460,7 +2460,8 @@ void smb_MapNTError(long code, unsigned long *NTStatusp)
|
||||
* the AFS Client Service is busy or down.
|
||||
*/
|
||||
else if (code == CM_ERROR_ALLBUSY ||
|
||||
code == CM_ERROR_ALLOFFLINE) {
|
||||
code == CM_ERROR_ALLOFFLINE ||
|
||||
code == CM_ERROR_ALLDOWN) {
|
||||
NTStatus = 0xC00000BEL; /* Bad Network Path */
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user