From c64ebcf64322f6b98e0e17076da8d63f6f79c114 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 16 Nov 2011 16:48:37 +0100 Subject: s3:winbindd_cm: remove unused ads_status metze --- source3/winbindd/winbindd_cm.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source3/winbindd') 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); -- cgit