Ignore:
Timestamp:
Nov 12, 2012, 5:09:31 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: update branche to 3.5.13

Location:
branches/samba-3.5.x/source3/rpc_server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/source3/rpc_server/srv_netlog_nt.c

    r429 r733  
    978978{
    979979        NTSTATUS status;
    980         struct netlogon_creds_CredentialState *creds;
     980        struct netlogon_creds_CredentialState *creds = NULL;
    981981        struct samu *sampass;
    982982        DATA_BLOB plaintext;
     
    993993
    994994        if (!NT_STATUS_IS_OK(status)) {
     995                const char *computer_name = "<unknown>";
     996
     997                if (creds && creds->computer_name) {
     998                        computer_name = creds->computer_name;
     999                }
     1000
    9951001                DEBUG(2,("_netr_ServerPasswordSet2: netlogon_creds_server_step "
    9961002                        "failed. Rejecting auth request from client %s machine account %s\n",
    997                         r->in.computer_name, creds->computer_name));
     1003                        r->in.computer_name, computer_name));
    9981004                TALLOC_FREE(creds);
    9991005                return status;
     
    10051011
    10061012        if (!extract_pw_from_buffer(p->mem_ctx, password_buf.data, &plaintext)) {
     1013                TALLOC_FREE(creds);
    10071014                return NT_STATUS_WRONG_PASSWORD;
    10081015        }
     
    10131020                                           creds->account_name,
    10141021                                           &sampass);
     1022        TALLOC_FREE(creds);
    10151023        if (!NT_STATUS_IS_OK(status)) {
    10161024                return status;
  • branches/samba-3.5.x/source3/rpc_server/srv_samr_nt.c

    r480 r733  
    28782878
    28792879        must_change_time = pdb_get_pass_must_change_time(pw);
    2880         if (must_change_time == get_time_t_max()) {
     2880        if (pdb_is_password_change_time_max(must_change_time)) {
    28812881                unix_to_nt_time_abs(&force_password_change, must_change_time);
    28822882        } else {
Note: See TracChangeset for help on using the changeset viewer.