diff options
author | Gerald Carter <jerry@samba.org> | 2002-12-04 20:13:29 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-12-04 20:13:29 +0000 |
commit | 4ba89367078d4847ebbd8023fb361cfbfc472527 (patch) | |
tree | 1d0e07136d857de3d6f7840d097590418f1e960a /source3/smbd/process.c | |
parent | 3cb1f9057864f41dadc4d9a85a6f6f8f2a270e32 (diff) | |
download | samba-4ba89367078d4847ebbd8023fb361cfbfc472527.tar.gz samba-4ba89367078d4847ebbd8023fb361cfbfc472527.tar.bz2 samba-4ba89367078d4847ebbd8023fb361cfbfc472527.zip |
change_trust_account_password() must always use the PDC for rpc
password changes.
jerry
(This used to be commit 974822526f90aee9b43e75fc7fd5d48fe91add99)
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r-- | source3/smbd/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index c46c4c5509..3b0619b7d0 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -1175,9 +1175,9 @@ machine %s in domain %s.\n", global_myname(), lp_workgroup() )); return True; } - pstrcpy(remote_machine_list, lp_passwordserver()); - - change_trust_account_password( lp_workgroup(), remote_machine_list); + /* always just contact the PDC here */ + + change_trust_account_password( lp_workgroup(), NULL); global_machine_password_needs_changing = False; secrets_lock_trust_account_password(lp_workgroup(), False); } |