Ignore:
Timestamp:
Aug 2, 2010, 8:16:45 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: trunk update to 3.5.4

Location:
trunk/server
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/auth/auth_sam.c

    r414 r480  
    7979
    8080        if (client_lm_hash || client_nt_hash) {
     81                if (!nt_pw) {
     82                        return NT_STATUS_WRONG_PASSWORD;
     83                }
    8184                *user_sess_key = data_blob_talloc(mem_ctx, NULL, 16);
    8285                if (!user_sess_key->data) {
  • trunk/server/source3/auth/auth_util.c

    r414 r480  
    469469                                  client_domain,
    470470                                  get_remote_machine_name(),
    471                                   lm_resp.data ? &lm_resp : NULL,
    472                                   nt_resp.data ? &nt_resp : NULL,
     471                                  lm_resp.data && (lm_resp.length > 0) ? &lm_resp : NULL,
     472                                  nt_resp.data && (nt_resp.length > 0) ? &nt_resp : NULL,
    473473                                  NULL, NULL, NULL,
    474474                                  True);
Note: See TracChangeset for help on using the changeset viewer.