1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3:libsmb: use lp_cli_minprotocol() in do_connect()

https://bugzilla.samba.org/show_bug.cgi?id=9514

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Stefan Metzmacher 2013-08-11 14:00:45 +02:00
parent dd9155a7ec
commit 42a493dff0

View File

@ -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)) {