windows-smb-error-map-20090404
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 4 Apr 2009 21:16:27 +0000 (21:16 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 4 Apr 2009 21:16:27 +0000 (21:16 +0000)
commitffe04f710b41120f1bbd843c73ee2d95bc179d9c
treec04cd11af58c72b7c67d84262d8e7a6835472058
parent4ecaeaac97a48c36df3866f1f71eb8a95c8f6e51
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.
src/WINNT/afsd/smb.c