summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-16 16:48:37 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-16 19:02:12 +0100
commitc64ebcf64322f6b98e0e17076da8d63f6f79c114 (patch)
treef67da82674534f0cfd58aff11a61fbedb817601c /source3/winbindd
parent773abaa2ef9521250cc51657c2ce15ce99850890 (diff)
downloadsamba-c64ebcf64322f6b98e0e17076da8d63f6f79c114.tar.gz
samba-c64ebcf64322f6b98e0e17076da8d63f6f79c114.tar.bz2
samba-c64ebcf64322f6b98e0e17076da8d63f6f79c114.zip
s3:winbindd_cm: remove unused ads_status
metze
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_cm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index edc6579b7b..67eea56d1a 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -832,8 +832,6 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
cli_state_protocol(*cli) >= PROTOCOL_NT1 &&
cli_state_capabilities(*cli) & CAP_EXTENDED_SECURITY)
{
- ADS_STATUS ads_status;
-
result = get_trust_creds(domain, &machine_password,
&machine_account,
&machine_krb5_principal);
@@ -894,7 +892,6 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
nt_errstr(result)));
}
- result = ads_ntstatus(ads_status);
if (NT_STATUS_IS_OK(result)) {
/* Ensure creds are stored for NTLMSSP authenticated pipe access. */
result = cli_init_creds(*cli, machine_account, lp_workgroup(), machine_password);