From bf02a469c3c9a71fe2741bcd53d6d478f52e2311 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 11 Aug 2013 14:00:45 +0200 Subject: [PATCH] s3:libsmb: use lp_cli_minprotocol() in do_connect() https://bugzilla.samba.org/show_bug.cgi?id=9514 Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison (cherry picked from commit 42a493dff0e4ade04b6e94caf0b7ae14b6cf60eb) --- source3/libsmb/clidfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index 1ed6ac5fc14..1d92843f48f 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/libsmb/clidfs.c @@ -150,7 +150,8 @@ static NTSTATUS do_connect(TALLOC_CTX *ctx, } DEBUG(4,(" session request ok\n")); - status = smbXcli_negprot(c->conn, c->timeout, PROTOCOL_CORE, + status = smbXcli_negprot(c->conn, c->timeout, + lp_cli_minprotocol(), max_protocol); if (!NT_STATUS_IS_OK(status)) { -- 2.11.4.GIT