From a60b1695b1d783da4b460f357772fb3cde589134 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 1 Aug 2011 16:58:49 +0200 Subject: s3:winbindd_cm: make use of cli_state_protocol() metze --- source3/winbindd/winbindd_cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index a6447bade2..3dd129fb85 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -825,7 +825,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain, } if (!is_dc_trusted_domain_situation(domain->name) && - (*cli)->protocol >= PROTOCOL_NT1 && + cli_state_protocol(*cli) >= PROTOCOL_NT1 && cli_state_capabilities(*cli) & CAP_EXTENDED_SECURITY) { ADS_STATUS ads_status; -- cgit