1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-12 04:23:49 +03:00

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
This commit is contained in:
Volker Lendecke
2007-03-13 16:13:24 +00:00
committed by Gerald (Jerry) Carter
parent 34ae610bd5
commit f94e5af72e
7 changed files with 36 additions and 6 deletions

View File

@@ -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;
}
}