adding WRONGSEC error to mapping function
This commit is contained in:
parent
eb5a1d721c
commit
9f9401d6c8
1 changed files with 2 additions and 0 deletions
|
|
@ -322,6 +322,8 @@ int nfs_to_windows_error(int status, int default_error)
|
||||||
case NFS4ERR_BAD_STATEID:
|
case NFS4ERR_BAD_STATEID:
|
||||||
case NFS4ERR_ADMIN_REVOKED: return ERROR_FILE_INVALID;
|
case NFS4ERR_ADMIN_REVOKED: return ERROR_FILE_INVALID;
|
||||||
|
|
||||||
|
case NFS4ERR_WRONGSEC: return ERROR_ACCESS_DENIED;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
dprintf(1, "nfs error %s not mapped to windows error; "
|
dprintf(1, "nfs error %s not mapped to windows error; "
|
||||||
"returning default error %d\n",
|
"returning default error %d\n",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue