Ignore:
Timestamp:
Nov 12, 2012, 4:35:55 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: update branche to 3.5.12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/source3/smbd/msdfs.c

    r596 r732  
    526526
    527527        /*
    528          * Note the unix path conversion here we're doing we can
     528         * Note the unix path conversion here we're doing we
    529529         * throw away. We're looking for a symlink for a dfs
    530530         * resolution, if we don't find it we'll do another
    531531         * unix_convert later in the codepath.
    532          * If we needed to remember what we'd resolved in
    533          * dp->reqpath (as the original code did) we'd
    534          * copy (localhost, dp->reqpath) on any code
    535          * path below that returns True - but I don't
    536          * think this is needed. JRA.
    537532         */
    538533
     
    545540                        return status;
    546541                }
    547 
    548                 /* Create an smb_fname to use below. */
    549                 status = create_synthetic_smb_fname(ctx, pdp->reqpath, NULL,
    550                                                     NULL, &smb_fname);
    551                 if (!NT_STATUS_IS_OK(status)) {
     542                if (smb_fname == NULL || smb_fname->base_name == NULL) {
    552543                        return status;
    553544                }
Note: See TracChangeset for help on using the changeset viewer.