summaryrefslogtreecommitdiffstats
path: root/source/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-03-13 16:13:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:36 -0500
commitf94e5af72e282f70ca5454cdf3aed510b747eb93 (patch)
tree2d8d5abd3e800d4dfe2f37dbf06c687bd02e81d9 /source/libsmb
parent34ae610bd5b9fd1210f16beac07a1c5984144ca7 (diff)
downloadsamba-f94e5af72e282f70ca5454cdf3aed510b747eb93.tar.gz
samba-f94e5af72e282f70ca5454cdf3aed510b747eb93.tar.xz
samba-f94e5af72e282f70ca5454cdf3aed510b747eb93.zip
r21823: Let secrets_store_machine_password() also store the account name. Not used
yet, the next step will be a secrets_fetch_machine_account() function that also pulls the account name to be used in the appropriate places. Volker
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/trusts_util.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/libsmb/trusts_util.c b/source/libsmb/trusts_util.c
index e4061883eb1..3460f2c47cb 100644
--- a/source/libsmb/trusts_util.c
+++ b/source/libsmb/trusts_util.c
@@ -104,7 +104,10 @@ NTSTATUS trust_pw_change_and_store_it(struct rpc_pipe_client *cli, TALLOC_CTX *m
* Return the result of trying to write the new password
* back into the trust account file.
*/
- if (!secrets_store_machine_password(new_trust_passwd, domain, sec_channel_type)) {
+ if (!secrets_store_machine_password(new_trust_passwd,
+ global_myname(),
+ domain,
+ sec_channel_type)) {
nt_status = NT_STATUS_UNSUCCESSFUL;
}
}