From: Stefan Metzmacher Date: Mon, 22 Oct 2012 12:35:41 +0000 (+0200) Subject: s3:winbindd: use PROTOCOL_LATEST instead of PROTOCOL_SMB2_02 (bug #9175) X-Git-Tag: ldb-1.1.14~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a3eb641fe34fb95bf713f0e7184581847af1357;p=thirdparty%2Fsamba.git s3:winbindd: use PROTOCOL_LATEST instead of PROTOCOL_SMB2_02 (bug #9175) We should use the latest supported dialect. Signed-off-by: Stefan Metzmacher Reviewd-by: Michael Adam Autobuild-User(master): Michael Adam Autobuild-Date(master): Thu Nov 1 18:11:27 CET 2012 on sn-devel-104 --- diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index c403b32b20c..79b5839d2a7 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -832,7 +832,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain, cli_set_timeout(*cli, 10000); /* 10 seconds */ result = smbXcli_negprot((*cli)->conn, (*cli)->timeout, PROTOCOL_CORE, - PROTOCOL_SMB2_02); + PROTOCOL_LATEST); if (!NT_STATUS_IS_OK(result)) { DEBUG(1, ("cli_negprot failed: %s\n", nt_errstr(result)));