summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-01 16:39:55 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-02 04:54:28 +0200
commit3ce648aee4fb961d0ee23669b53524786ace8b98 (patch)
tree514f41e4d82c23d366f4d7f6f68815055c8a3565 /source3
parentf934aa1aeac9e04eb758dad67afc4f18e605d5f3 (diff)
downloadsamba-3ce648aee4fb961d0ee23669b53524786ace8b98.tar.gz
samba-3ce648aee4fb961d0ee23669b53524786ace8b98.tar.bz2
samba-3ce648aee4fb961d0ee23669b53524786ace8b98.zip
s3:winbindd_cm: make use of cli_state_capabilities()
metze
Diffstat (limited to 'source3')
-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 2a3d717776..a6447bade2 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -826,7 +826,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
if (!is_dc_trusted_domain_situation(domain->name) &&
(*cli)->protocol >= PROTOCOL_NT1 &&
- (*cli)->capabilities & CAP_EXTENDED_SECURITY)
+ cli_state_capabilities(*cli) & CAP_EXTENDED_SECURITY)
{
ADS_STATUS ads_status;