windows-pioctl-parse-path-20080113
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 13 Jan 2008 14:37:04 +0000 (14:37 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 13 Jan 2008 14:37:04 +0000 (14:37 +0000)
LICENSE MIT

Apply the desired "follow symlinks/mountpoints" semantics to the single
component non-UNC case.

src/WINNT/afsd/cm_ioctl.c

index 75042f7..53af6ba 100644 (file)
@@ -368,7 +368,7 @@ long cm_ParseIoctlPath(smb_ioctl_t *ioctlp, cm_user_t *userp, cm_req_t *reqp,
            if (iscp)
                cm_ReleaseSCache(iscp);
        } else {
-           code = cm_NameI(substRootp, relativePath, CM_FLAG_CASEFOLD,
+           code = cm_NameI(substRootp, relativePath, CM_FLAG_CASEFOLD | follow,
                             userp, NULL, reqp, scpp);
        }
         if (code) {