summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_pipe.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-11 14:07:32 +0100
committerMichael Adam <obnox@samba.org>2007-12-13 10:15:19 +0100
commit31f221ed9316c8dc2f4911d7b8ddcdf8b74367db (patch)
tree4dcfacf42ae581356de18ad4b957ed379e6ac608 /source3/rpc_client/cli_pipe.c
parent1084151442552e63c0b9b310273d8d42711aa55c (diff)
downloadsamba-31f221ed9316c8dc2f4911d7b8ddcdf8b74367db.tar.gz
samba-31f221ed9316c8dc2f4911d7b8ddcdf8b74367db.tar.bz2
samba-31f221ed9316c8dc2f4911d7b8ddcdf8b74367db.zip
Rename get_trust_pw() to get_trust_pw_hash().
Michael (This used to be commit 0cde7ac9cb39a0026a38ccf66dbecefc12931074)
Diffstat (limited to 'source3/rpc_client/cli_pipe.c')
-rw-r--r--source3/rpc_client/cli_pipe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index bf019c89a1..9f1d9c6e3e 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -2444,7 +2444,8 @@ struct rpc_pipe_client *get_schannel_session_key(struct cli_state *cli,
}
/* Get the machine account credentials from secrets.tdb. */
- if (!get_trust_pw(domain, machine_pwd, &machine_account, &sec_chan_type))
+ if (!get_trust_pw_hash(domain, machine_pwd, &machine_account,
+ &sec_chan_type))
{
DEBUG(0, ("get_schannel_session_key: could not fetch "
"trust account password for domain '%s'\n",
@@ -2557,7 +2558,8 @@ static struct rpc_pipe_client *get_schannel_session_key_auth_ntlmssp(struct cli_
}
/* Get the machine account credentials from secrets.tdb. */
- if (!get_trust_pw(domain, machine_pwd, &machine_account, &sec_chan_type))
+ if (!get_trust_pw_hash(domain, machine_pwd, &machine_account,
+ &sec_chan_type))
{
DEBUG(0, ("get_schannel_session_key_auth_ntlmssp: could not fetch "
"trust account password for domain '%s'\n",