From 764b5e56108362a53acf8f435203dd1e56ecd2ce Mon Sep 17 00:00:00 2001 From: Luk Claes Date: Sun, 20 May 2012 17:54:29 +0200 Subject: s3:libsmb: get rid of cli_negprot Signed-off-by: Luk Claes Signed-off-by: Stefan Metzmacher --- source3/winbindd/winbindd_cm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/winbindd/winbindd_cm.c') diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index d4af23783d..44ca77bc6c 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -827,7 +827,8 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain, cli_set_timeout(*cli, 10000); /* 10 seconds */ - result = cli_negprot(*cli, PROTOCOL_SMB2_02); + result = smbXcli_negprot((*cli)->conn, (*cli)->timeout, PROTOCOL_CORE, + PROTOCOL_SMB2_02); if (!NT_STATUS_IS_OK(result)) { DEBUG(1, ("cli_negprot failed: %s\n", nt_errstr(result))); -- cgit