Ignore:
Timestamp:
May 20, 2009, 6:46:53 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/smbd/sesssetup.c

    r133 r204  
    17401740        }
    17411741
    1742         nt_status = create_local_token(server_info);
    1743         if (!NT_STATUS_IS_OK(nt_status)) {
    1744                 DEBUG(10, ("create_local_token failed: %s\n",
    1745                            nt_errstr(nt_status)));
    1746                 data_blob_free(&nt_resp);
    1747                 data_blob_free(&lm_resp);
    1748                 data_blob_clear_free(&plaintext_password);
    1749                 reply_nterror(req, nt_status_squash(nt_status));
    1750                 END_PROFILE(SMBsesssetupX);
    1751                 return;
     1742        if (!server_info->ptok) {
     1743                nt_status = create_local_token(server_info);
     1744
     1745                if (!NT_STATUS_IS_OK(nt_status)) {
     1746                        DEBUG(10, ("create_local_token failed: %s\n",
     1747                                   nt_errstr(nt_status)));
     1748                        data_blob_free(&nt_resp);
     1749                        data_blob_free(&lm_resp);
     1750                        data_blob_clear_free(&plaintext_password);
     1751                        reply_nterror(req, nt_status_squash(nt_status));
     1752                        END_PROFILE(SMBsesssetupX);
     1753                        return;
     1754                }
    17521755        }
    17531756
Note: See TracChangeset for help on using the changeset viewer.