Changeset 235 for branches/samba-3.2.x/source/smbd/open.c
- Timestamp:
- May 27, 2009, 12:08:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/smbd/open.c
r233 r235 3056 3056 ea_list, sd, fname)); 3057 3057 3058 /* MSDFS pathname processing must be done FIRST. 3059 MSDFS pathnames containing IPv6 addresses can 3060 be confused with NTFS stream names (they contain 3061 ":" characters. JRA. */ 3062 3063 if ((req != NULL) && (req->flags2 & FLAGS2_DFS_PATHNAMES)) { 3064 char *resolved_fname; 3065 3066 status = resolve_dfspath(talloc_tos(), conn, true, fname, 3067 &resolved_fname); 3068 3069 if (!NT_STATUS_IS_OK(status)) { 3070 /* 3071 * For PATH_NOT_COVERED we had 3072 * reply_botherror(req, NT_STATUS_PATH_NOT_COVERED, 3073 * ERRSRV, ERRbadpath); 3074 * Need to fix in callers 3075 */ 3076 goto fail; 3077 } 3078 fname = resolved_fname; 3079 } 3080 3058 3081 /* 3059 3082 * Get the file name. … … 3183 3206 } 3184 3207 3185 if ((req != NULL) && (req->flags2 & FLAGS2_DFS_PATHNAMES)) {3186 char *resolved_fname;3187 3188 status = resolve_dfspath(talloc_tos(), conn, true, fname,3189 &resolved_fname);3190 3191 if (!NT_STATUS_IS_OK(status)) {3192 /*3193 * For PATH_NOT_COVERED we had3194 * reply_botherror(req, NT_STATUS_PATH_NOT_COVERED,3195 * ERRSRV, ERRbadpath);3196 * Need to fix in callers3197 */3198 goto fail;3199 }3200 fname = resolved_fname;3201 }3202 3203 3208 /* 3204 3209 * Check if POSIX semantics are wanted.
Note:
See TracChangeset
for help on using the changeset viewer.