diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-06-03 06:22:19 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-06-03 06:22:19 +0000 |
commit | da44845a0907bc6c9da9aabc0374b8280a85017f (patch) | |
tree | e218397cdcc7f3d01c2575389f6e9d14d546f6a6 /source3/rpc_client | |
parent | 843120837caf6f32324982dc3c12cf79465cf581 (diff) | |
download | samba-da44845a0907bc6c9da9aabc0374b8280a85017f.tar.gz samba-da44845a0907bc6c9da9aabc0374b8280a85017f.tar.bz2 samba-da44845a0907bc6c9da9aabc0374b8280a85017f.zip |
moved secrets fns into secrets.c
(This used to be commit f890bcf06786e7c63bf76fad2fd46d287a99a270)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_netlogon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_netlogon.c b/source3/rpc_client/cli_netlogon.c index 0043a1894e..065bd57649 100644 --- a/source3/rpc_client/cli_netlogon.c +++ b/source3/rpc_client/cli_netlogon.c @@ -636,7 +636,7 @@ BOOL change_trust_account_password( char *domain, char *remote_machine_list) time_t lct; BOOL res = False; - if(!get_trust_account_password(domain, old_trust_passwd_hash, &lct)) { + if(!secrets_fetch_trust_account_password(domain, old_trust_passwd_hash, &lct)) { DEBUG(0,("change_trust_account_password: unable to read the machine \ account password for domain %s.\n", domain)); return False; @@ -693,7 +693,7 @@ domain %s.\n", timestring(False), domain)); * Return the result of trying to write the new password * back into the trust account file. */ - res = set_trust_account_password(domain, new_trust_passwd_hash); + res = secrets_store_trust_account_password(domain, new_trust_passwd_hash); memset(new_trust_passwd_hash, 0, 16); memset(old_trust_passwd_hash, 0, 16); return res; |