Ignore:
Timestamp:
Apr 10, 2007, 5:27:38 AM (14 years ago)
Author:
Paul Smedley
Message:

Updated source to 3.0.25rc1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/rpc_server/srv_dfs_nt.c

    r22 r26  
    7070
    7171        /* The following call can change the cwd. */
    72         if(get_referred_path(p->mem_ctx, dfspath, &jn, &consumedcnt, &self_ref)) {
     72        if(NT_STATUS_IS_OK(get_referred_path(p->mem_ctx, dfspath, &jn, &consumedcnt, &self_ref))) {
    7373                exists = True;
    7474                jn.referral_count += 1;
     
    142142                dfspath, servername, sharename));
    143143
    144         if(!get_referred_path(p->mem_ctx, dfspath, &jn, &consumedcnt, &self_ref)) {
     144        if(!NT_STATUS_IS_OK(get_referred_path(p->mem_ctx, dfspath, &jn, &consumedcnt, &self_ref))) {
    145145                return WERR_DFS_NO_SUCH_VOL;
    146146        }
     
    359359 
    360360        /* The following call can change the cwd. */
    361         if(!get_referred_path(p->mem_ctx, path, &jn, &consumedcnt, &self_ref) || consumedcnt < strlen(path)) {
     361        if(!NT_STATUS_IS_OK(get_referred_path(p->mem_ctx, path, &jn, &consumedcnt, &self_ref)) || consumedcnt < strlen(path)) {
    362362                vfs_ChDir(p->conn,p->conn->connectpath);
    363363                return WERR_DFS_NO_SUCH_VOL;
Note: See TracChangeset for help on using the changeset viewer.