Ignore:
Timestamp:
Mar 12, 2008, 9:08:18 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.28a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/auth/auth_domain.c

    r22 r124  
    126126        if (!lp_client_schannel()) {
    127127                /* We need to set up a creds chain on an unauthenticated netlogon pipe. */
    128                 uint32 neg_flags = NETLOGON_NEG_AUTH2_FLAGS;
     128                uint32 neg_flags = NETLOGON_NEG_SELECT_AUTH2_FLAGS;
    129129                uint32 sec_chan_type = 0;
    130130                unsigned char machine_pwd[16];
    131 
    132                 if (!get_trust_pw(domain, machine_pwd, &sec_chan_type)) {
     131                const char *account_name;
     132
     133                if (!get_trust_pw_hash(domain, machine_pwd, &account_name,
     134                                       &sec_chan_type))
     135                {
    133136                        DEBUG(0, ("connect_to_domain_password_server: could not fetch "
    134137                        "trust account password for domain '%s'\n",
     
    144147                                        domain, /* domain */
    145148                                        global_myname(), /* client name */
    146                                         global_myname(), /* machine account name */
     149                                        account_name, /* machine account name */
    147150                                        machine_pwd,
    148151                                        sec_chan_type,
Note: See TracChangeset for help on using the changeset viewer.