Windows: Adjust error return values
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 15 Oct 2009 02:06:38 +0000 (22:06 -0400)
committerJeffrey Altman <jaltman|account-1000011@unknown>
Wed, 21 Oct 2009 04:14:24 +0000 (21:14 -0700)
commit7673b2450c9e7449d8165a0be5bbd8e0c063dfd2
tree5eccb41cc827f04302bde2e00026c6dc6312707d
parent310cec9933d1ff3a74bcbe716dba5ade9cc28d15
Windows: Adjust error return values

Do not return STATUS_TIMEOUT to the smb redirector, doing so
results in an undesireable disconnect.

Map RXKADNOAUTH to STATUS_CLOCK_SKEW as that is the most
frequent cause of rx level authorization failures.

Map CM_ERROR_UNKNOWN to access denied since there is no
better error choice.

LICENSE MIT

Reviewed-on: http://gerrit.openafs.org/661
Reviewed-by: Asanka Herath <asanka@secure-endpoints.com>
Tested-by: Asanka Herath <asanka@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_utils.c
src/WINNT/afsd/smb.c