]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-smb-error-map-20090404
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 4 Apr 2009 21:16:36 +0000 (21:16 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 4 Apr 2009 21:16:36 +0000 (21:16 +0000)
commit4d444392b06ff892413e5e151b33a641ecff2769
treeb72b84e5747cf3b469e5bf3fe841108ce57f27b9
parent4410712f6d987a9cc16f25135322b2d459bed53d
DEVEL15-windows-smb-error-map-20090404

LICENSE MIT

For CM_ERROR_BADSHARENAME return BAD_NETWORK_PATH instead
of BAD_NETWORK_NAME.  The latter refers to the server name
and the former to the share name.   Returning BAD_NETWORK_NAME
will causes the smb redirector to break its connection to \\AFS.

For CM_ERROR_ALLOFFLINE and CM_ERROR_ALLDOWN return PATH_NOT_FOUND
instead of BAD_NETWORK_PATH.  We don't want the smb redirector
to tear down all open files just because some volume in the path
is inaccessible at the moment.

(cherry picked from commit ffe04f710b41120f1bbd843c73ee2d95bc179d9c)
src/WINNT/afsd/smb.c