From d8c0646a5db34a390ceeb853e50c2d098b992c85 Mon Sep 17 00:00:00 2001 From: Luk Claes Date: Sat, 19 May 2012 18:09:30 +0200 Subject: s3:libsmb: get rid of cli_state_protocol Signed-off-by: Luk Claes Signed-off-by: Stefan Metzmacher --- source3/winbindd/winbindd_cm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index c515ace347..41795dd1af 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -834,10 +834,10 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain, goto done; } - if (cli_state_protocol(*cli) >= PROTOCOL_NT1 && + if (smbXcli_conn_protocol((*cli)->conn) >= PROTOCOL_NT1 && cli_state_capabilities(*cli) & CAP_EXTENDED_SECURITY) { try_spnego = true; - } else if (cli_state_protocol(*cli) >= PROTOCOL_SMB2_02) { + } else if (smbXcli_conn_protocol((*cli)->conn) >= PROTOCOL_SMB2_02) { try_spnego = true; } -- cgit