summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-01 16:58:49 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-02 04:54:28 +0200
commita60b1695b1d783da4b460f357772fb3cde589134 (patch)
tree2391a702784fd61ffc527567920b9173fb0ffa60 /source3/winbindd
parent233336d0c2f07e202277571c540b5a64b7b0bb63 (diff)
downloadsamba-a60b1695b1d783da4b460f357772fb3cde589134.tar.gz
samba-a60b1695b1d783da4b460f357772fb3cde589134.tar.bz2
samba-a60b1695b1d783da4b460f357772fb3cde589134.zip
s3:winbindd_cm: make use of cli_state_protocol()
metze
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_cm.c2
1 files changed, 1 insertions, 1 deletions
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;