Ignore:
Timestamp:
May 24, 2009, 7:55:48 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 branch to 3.3.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/smbd/open.c

    r223 r224  
    32833283                  ea_list, sd, fname));
    32843284
     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
    32853308        /*
    32863309         * Get the file name.
     
    34103433        }
    34113434
    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 had
    3421                          * reply_botherror(req, NT_STATUS_PATH_NOT_COVERED,
    3422                          *                 ERRSRV, ERRbadpath);
    3423                          * Need to fix in callers
    3424                          */
    3425                         goto fail;
    3426                 }
    3427                 fname = resolved_fname;
    3428         }
    3429 
    34303435        /*
    34313436         * Check if POSIX semantics are wanted.
Note: See TracChangeset for help on using the changeset viewer.