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/utils/net_conf.c

    r429 r480  
    230230                                                     service->param_values[idx]);
    231231                        if (!W_ERROR_IS_OK(werr)) {
     232                                d_fprintf(stderr,
     233                                          _("Error in section [%s], parameter \"%s\": %s\n"),
     234                                          service->name, service->param_names[idx],
     235                                          win_errstr(werr));
    232236                                goto done;
    233237                        }
  • trunk/server/source3/utils/net_rpc.c

    r414 r480  
    795795                        return -1;
    796796                }
    797                 u1003.usri1003_password = getpass(prompt);
     797                u1003.usri1003_password = talloc_strdup(c, getpass(prompt));
    798798                SAFE_FREE(prompt);
     799                if (u1003.usri1003_password == NULL) {
     800                        return -1;
     801                }
    799802        }
    800803
Note: See TracChangeset for help on using the changeset viewer.