summaryrefslogtreecommitdiffstats
path: root/source3/winbindd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-09-23 14:19:35 -0700
committerAndrew Bartlett <abartlet@samba.org>2014-10-17 12:57:07 +0200
commit2b9d6d3d9b6766ba2e48523b005a7eecf3e05412 (patch)
tree6abb21fc8ecb84fe7953d742ba9104063ea5d220 /source3/winbindd
parent07bd866f59f8a6a29521fbf0e17963aaef8575de (diff)
downloadsamba-2b9d6d3d9b6766ba2e48523b005a7eecf3e05412.tar.gz
samba-2b9d6d3d9b6766ba2e48523b005a7eecf3e05412.tar.xz
samba-2b9d6d3d9b6766ba2e48523b005a7eecf3e05412.zip
s3:libsmb: Remove unused password copy stored in cli_state
Change-Id: Ia6b33a25628ae08be8a8c6baeb71ce390315cb45 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_cm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 7c466820d9..8d1af8967e 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -1116,7 +1116,7 @@ static NTSTATUS cm_prepare_connection(struct winbindd_domain *domain,
if (NT_STATUS_IS_OK(result)) {
if (krb5_state != CRED_MUST_USE_KERBEROS) {
/* Ensure creds are stored for NTLMSSP authenticated pipe access. */
- result = cli_init_creds(*cli, machine_account, machine_domain, machine_password);
+ result = cli_init_creds(*cli, machine_account, machine_domain);
if (!NT_STATUS_IS_OK(result)) {
goto done;
}
@@ -1215,7 +1215,7 @@ static NTSTATUS cm_prepare_connection(struct winbindd_domain *domain,
if (NT_STATUS_IS_OK(result)) {
/* Ensure creds are stored for NTLMSSP authenticated pipe access. */
- result = cli_init_creds(*cli, machine_account, machine_domain, machine_password);
+ result = cli_init_creds(*cli, machine_account, machine_domain);
if (!NT_STATUS_IS_OK(result)) {
goto done;
}