Windows: Use "Name not found" instead of "File not found"
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 19 Sep 2009 08:55:09 +0000 (04:55 -0400)
committerJeffrey Altman <jaltman|account-1000011@unknown>
Sat, 19 Sep 2009 18:14:38 +0000 (11:14 -0700)
commit72e8bac22201e194242e715a107f3b3cb8a480df
tree2901b5bce252f17d722cbcffe7701a58fb8532de
parent3be5d2ca5f2a1af97502f5fd0f5b25f382b123c4
Windows: Use "Name not found" instead of "File not found"

When a file cannot be opened because the name of the file or
a directory in the path cannot be found, return "Name not found"
instead of "File not found".  "File not found" is the error returned
by the smb redirector to the application when the file cannot be
located in the search path.  "Name not found" indicates that the
entry is not present at the location requested.

The use of "File not found" prevented execution of applications
from the \\AFS name space on Windows 7.

LICENSE MIT

Reviewed-on: http://gerrit.openafs.org/469
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/smb.c