summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-08-11 14:00:45 +0200
committerStefan Metzmacher <metze@samba.org>2013-08-15 09:07:05 +0200
commit42a493dff0e4ade04b6e94caf0b7ae14b6cf60eb (patch)
tree17e696ef42f650b3134de1f0a2e18f3d1dc8d044 /source3/libsmb
parentdd9155a7ec7f1989cb18e79907d0fa1c9ee845a4 (diff)
downloadsamba-42a493dff0e4ade04b6e94caf0b7ae14b6cf60eb.tar.gz
samba-42a493dff0e4ade04b6e94caf0b7ae14b6cf60eb.tar.bz2
samba-42a493dff0e4ade04b6e94caf0b7ae14b6cf60eb.zip
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>
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clidfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index 1ed6ac5fc1..1d92843f48 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)) {