Changeset 224 for branches/samba-3.3.x/source/smbd/open.c
- Timestamp:
- May 24, 2009, 7:55:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/smbd/open.c
r223 r224 3283 3283 ea_list, sd, fname)); 3284 3284 3285 /* MSDFS pathname processing must be done FIRST. 3286 MSDFS pathnames containing IPv6 addresses can 3287 be confused with NTFS stream names (they contain 3288 ":" characters. JRA. */ 3289 3290 if ((req != NULL) && (req->flags2 & FLAGS2_DFS_PATHNAMES)) { 3291 char *resolved_fname; 3292 3293 status = resolve_dfspath(talloc_tos(), conn, true, fname, 3294 &resolved_fname); 3295 3296 if (!NT_STATUS_IS_OK(status)) { 3297 /* 3298 * For PATH_NOT_COVERED we had 3299 * reply_botherror(req, NT_STATUS_PATH_NOT_COVERED, 3300 * ERRSRV, ERRbadpath); 3301 * Need to fix in callers 3302 */ 3303 goto fail; 3304 } 3305 fname = resolved_fname; 3306 } 3307 3285 3308 /* 3286 3309 * Get the file name. … … 3410 3433 } 3411 3434 3412 if ((req != NULL) && (req->flags2 & FLAGS2_DFS_PATHNAMES)) {3413 char *resolved_fname;3414 3415 status = resolve_dfspath(talloc_tos(), conn, true, fname,3416 &resolved_fname);3417 3418 if (!NT_STATUS_IS_OK(status)) {3419 /*3420 * For PATH_NOT_COVERED we had3421 * reply_botherror(req, NT_STATUS_PATH_NOT_COVERED,3422 * ERRSRV, ERRbadpath);3423 * Need to fix in callers3424 */3425 goto fail;3426 }3427 fname = resolved_fname;3428 }3429 3430 3435 /* 3431 3436 * Check if POSIX semantics are wanted.
Note:
See TracChangeset
for help on using the changeset viewer.