From ff6394b2e40b4c7c58b32a6e901656a12eb1faf1 Mon Sep 17 00:00:00 2001 From: Ryan Lantzer Date: Fri, 14 Mar 2003 19:45:40 +0000 Subject: [PATCH] winnt-give-nosuchpath-if-thats-what-we-mean-20030314 FIXES 1329 "The Windows AFS client returns the error ERROR_NOSUCHFILE, where the same request on a local NTFS volume returns the error ERROR_NOSUCHPATH." --- src/WINNT/afsd/smb3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WINNT/afsd/smb3.c b/src/WINNT/afsd/smb3.c index 4273525763..f5c38ec44a 100644 --- a/src/WINNT/afsd/smb3.c +++ b/src/WINNT/afsd/smb3.c @@ -3139,7 +3139,7 @@ long smb_ReceiveNTCreateX(smb_vc_t *vcp, smb_packet_t *inp, smb_packet_t *outp) || (fidflags & (SMB_FID_OPENDELETE | SMB_FID_OPENWRITE))) { /* look up parent directory */ code = cm_NameI(baseDirp, spacep->data, - CM_FLAG_FOLLOW | CM_FLAG_CASEFOLD, + CM_FLAG_FOLLOW | CM_FLAG_CASEFOLD | CM_FLAG_CHECKPATH, userp, tidPathp, &req, &dscp); if (baseFid != 0) smb_ReleaseFID(baseFidp);